Animation locked game objects rotation

so i made a simple animation to rotate the game object left and right, but after completing the idle animation if i move the player into chase distance, the enemy starts moving towards the player buts it rotation is locked at 0,0,0.

Hi Adrian,

Have you already tried to add Debug.Logs to your code to see what is going on during runtime? Maybe there are restrictions in your code (e.g. if-conditions) that do not match the result you are trying to achieve.

Privacy & Terms