playMaker

Author Topic: paths to follow itween  (Read 3119 times)

msc4tech

  • Playmaker Newbie
  • *
  • Posts: 17
    • http://www.msc4tech.com
paths to follow itween
« 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

msc4tech

  • Playmaker Newbie
  • *
  • Posts: 17
    • http://www.msc4tech.com
Re: paths to follow itween
« Reply #1 on: September 30, 2011, 04:31:47 AM »
no solution for my issue?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: paths to follow itween
« Reply #2 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