playMaker

Author Topic: Pathfinding Actions Beta  (Read 73447 times)

cel

  • Full Member
  • ***
  • Posts: 132
problem with pathfinding actions
« Reply #75 on: August 04, 2020, 06:02:18 PM »
hey guys,

I have an fsm with 3 states, each one is supposed to move a navmesh agent to a different  object, so state 1 move to object 1 on arrival go to state 2 and move to object 2 on arrival go to state 3 and move to object 3.

The problem is that the agent goes to object 3 straight away, the graph fires immediately to state 3.

I tried set agent destination, set agent destination as game object with agent move and checking distance (if distance =0 fire to next state)… but it fires straight to state 3.

Any help? Am I doing something wrong?