How to disable the rotation of followentity in 2d



In 2d you want objects to rotate in a fixed way, or to be controlled by a script, but as you can see here, rotating objects when using followentity looks very strange
Is there a solution not to write your own mobility scripts, as you may later use rvo obstacle avoidance for agent mobility

It looks like the problem may be that your agent is rotating from the far back end? Make sure your sprite is a child of the GameObject with FollowerEntity, and then offset the local position of the sprite.

I placed the tile object on a child of the mobile agent and changed the rotation of the child. Now it looks good

1 Like

Awesome :slight_smile: Let us know if you need anything else.