2d AIPath agent wandering off

  • A* version: [5.4.5]
  • Unity version: [2022.3.62]

Attempting to use the asset for the first time. I’ve made a 2d grid path, scan finds the colliders and blue areas are walkable. I make a gameobject for an agent, using AIPath as don’t want to use ECS (making mobile/web game). It has a seeker component and aidestinationsetter. In AiPath is set to 2d orientation.

At runtime a green line is drawn from the agent to the destination transform, but it doesn’t follow the green line it just wanders off in a different direction. :slight_smile:

Any ideas? Thanks

Ah, gravity! Changed it on the agent and that seems to have solved it

1 Like