- Home /
Charactet plays Forward and back animations slowly. Mecanim top down.
I am working on a top down shooter and want the character to be able to rotate the camera and also play the appropriate animations. The character always looks at the mouse The code is here https://drive.google.com/file/d/1u2ufcj6BbuvKDxJZbMWvlbGzZem9zRKQ/view?usp=sharing Whenever I switch from
Vector3 desiredDirection = cameraForward * inputDirection.z + cameraRight * inputDirection.x;
To
Vector3 desiredDirection = inputDirection;
It plays the correct animation but no longer rotates the controls along with the camera. Does anybody know any fixes?
Your answer
Follow this Question
Related Questions
Strange Finger Issue With Avatar Configuration 0 Answers
Clone character with new character's animator playing at the same transition position 0 Answers
[Unity v5.4] Aligned positioning not working when using Animations 1 Answer
Issue with a Mecanim motion reference in synchronized layers 0 Answers
Mecanim Making an NPC walk 1 Answer