A* Pathfinding Turn Off Rotation


#1

I have a 2D Sprite moving around a 3D world, so I am using A* Pathfinding but it attempts to rotate my little characters sprite in the direction that he is about to walk. But I need that sprite to face the camera.

When I moved Rotation Speed to 0 for the AI Path script it seemed to prevent my character from moving anywhere except the way he was facing.


#2

Hi

Take a look at the 2D tutorial video, it deals with exactly this issue.
See https://arongranberg.com/astar/docs/pathfinding2d.html