Random rotation during path

  • A* version: 5.4.5
  • Unity version: 6000.2.9f1

I’m using point and click movement. I’m having an issue where the player will randomly stop and rotate when following a path. The issue is intermittent. It usually happens sometime in the middle or near the end of the path. I’m using the follower Entity component. Here’s a video of the issue:

I’m not doing anything with the rotation when the player is moving, so I’m not quite sure why this randomly happens. Any fixes for this?

Idk what graph you are using, i had some problems for the player controls too.

Then i switched to RichAI component instead of AIpath/FollowerEntity on a recast graph, and it feels and looks great

I use a Layered Grid Graph, so I wouldn’t be able to try RichAI.

My issue feels almost exactly like the one in this thread- FollowerEntity randomly rotates/jitters on the spot

One of the solutions in that thread was to use a node size >1. I tried that, and I’m still having issues with random rotations.