Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ItzArranT on June 25, 2017, 11:41:27 AM

Title: Making an object move with Player [SOLVED]
Post by: ItzArranT on June 25, 2017, 11:41:27 AM
I want to create an FSM for an object which, upon being collided into by the Player, will move with the Player- as if "magnetised" to them.

Any ideas??
Title: Re: Making an object move with Player
Post by: LordHorusNL on June 25, 2017, 11:45:29 AM
Have you tried a Move Towards action with a max speed of about 25 and a finish distance of 0?

That that should work.
Title: Re: Making an object move with Player [SOLVED]
Post by: ItzArranT on June 25, 2017, 12:01:44 PM
Great suggestion, although I went with a 'Set Parent' action, which makes the object follow the Player just fine.

I can also unparent them using the same action :)