[Solved] Animator overwriting animation/AI code

I was playing around with the code and rather than having the player locked straight up, and the enemies straight down, they would be able to rotate on the spot and shoot at each other.

This change worked fine until we got to the animation section of the course, wherein the animations caused the rotation to lock because of the ever playing idle animation. (trouble shooting proves it’s the animation’s fault)

Is there some means that I can either disable the animator once the ship is correctly in position?

Or pass it a variable so that it can aim the transform at the player?

Or am I doomed to have the ship’s transform locked downward?

any guidance on the matter would be appreciated.

Didn’t see a similar problem already addressed. whoops see this thread: [Solved]Animating Player Entry

Privacy & Terms