Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: msc4tech on September 26, 2011, 11:41:43 AM

Title: paths to follow itween
Post by: msc4tech on September 26, 2011, 11:41:43 AM
I have 3 different paths set in MAINCAM.
Based on the events I need to run to my object by using the "itwee.moveto" one of the 3 paths. How do I implement an action that does this?
Thanks
Title: Re: paths to follow itween
Post by: msc4tech on September 30, 2011, 04:31:47 AM
no solution for my issue?
Title: Re: paths to follow itween
Post by: jeanfabre on September 30, 2011, 05:37:38 AM
Hi,

 One way would be the following:

 Create 3 state, one for each iTween.MoveTo and each of these states is triggered by a global event. Then from other fsm, you can call one of these events.

 It's actually really simple. If you do not understand how to actually build the fsm itself or how iTween works, get back to me, and I'll make a screencast.

 Bye,

 Jean