playMaker

Author Topic: Problem with Trigger event/Move to  (Read 2164 times)

iHaveReturnd

  • Playmaker Newbie
  • *
  • Posts: 4
Problem with Trigger event/Move to
« on: April 03, 2012, 03:46:12 AM »
Hello, I'm setting up a basic npc movement system where an object will move from one point to another.  I'm using empty game objects as the points.

I have a FSM set up on one object that On Trigger Enter sets a variable to the object that entered, and then tells that object to move to the next point which is also set as a variable.  The first point works, however when it gets to the second point it will collide, change speed like I have set, but then stop once it reaches 0 on that second point. 

I have the "final distance" set to 0 so it makes sense, but I don't know how to make the second trigger telling it to move to the third point override it stopping at 0.

If that is unclear please let me know.  Thank you for any help :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Problem with Trigger event/Move to
« Reply #1 on: April 04, 2012, 01:38:05 AM »
Hi,

  A bit difficult to debug like that, could you make screenshots of the fsm.

 also, is it not a case where the second point is already collided, in which case, trigger enter will not fire of course, since it's already collided.

 Bye,

 Jean