- Home /
How do I make it so that a walking animation plays for the enemy AT THE SAME TIME it is moving toward the player?
I have been stuck on this for a while. I have it so that "isKinematic" starts out as true for the enemy's rigidbodies until (you shoot its colliders and) it dies as a ragdoll. When it dies, "isKinematic" turnes false, and its animator turns off.
I'm having trouble because in order to make the enemy's walk animation play, "isKinematic" must = true, but also, if "isKinematic" = true, then I can't code it to move toward the player.
Also, I should probably let you guys know that I can't use the method where you make a parent for the enemy and put the walking code on that parent (for reasons too long to explain). I pretty much need it so that the code to make the enemy move is on the enemy game object that the animator is present on.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Enemy Ragdoll help 1 Answer
How can i Learn Basics of Rain AI 1 Answer
Nav Mesh Agent 0 Answers
How would I animate a 2D enemy with AI made with A*? 0 Answers