playMaker

Author Topic: iTween MoveTo path resetting  (Read 2793 times)

jasmyn

  • Playmaker Newbie
  • *
  • Posts: 2
iTween MoveTo path resetting
« on: September 24, 2013, 06:25:56 AM »
Hi! I am new to PM, so apologies if this is obvious, but I'm having this issue...

1. I add an FSM to a game object
2. I add an iTween MoveTo action to the starting state
3. I increase the # of Nodes to 2
4. I drag out the path start and end points in the Scene view
5. I hit play, or select another game object

The last step resets the path endpoints to some position I didn't set.

Help!! :)
« Last Edit: September 24, 2013, 05:06:41 PM by jasmyn »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: iTween MoveTo path resetting
« Reply #1 on: September 24, 2013, 06:51:17 AM »
Hi,

 yep I can repro. I filed a bug for this.

 Meanwhile. You can use gameObjects instead of vector 3positions. that works.

 OR, you can use the iTween path and the moveTo_2 version, so you can define the path outside that action and simply reference the name of the path.

http://hutonggames.com/playmakerforum/index.php?topic=1699.0

bye,

 Jean

jasmyn

  • Playmaker Newbie
  • *
  • Posts: 2
Re: iTween MoveTo path resetting
« Reply #2 on: September 24, 2013, 07:01:28 AM »
Thanks for that...

Jasmyn