Hello all,
I've adapted the basic third person character controller setup to work as a first person player:
"Get Axis Vector" and "Controller Simple Move" on the parent player object, "Mouse Look" on the Main Camera child object.
What I also want is to have an animated player body.
I've placed a character mesh as the child of the player parent object and added a Mechanim Animator Controller and animation to it. I'm passing the "Get Axis Vector" Magnitude float to the Anim Controller to switch between Idle and Moving animations.
What I'd like to do is have the player model turn and animate according to left and right turns as driven by the camera. I'm updating the rotation of the player mesh to match the camera rotation, so I get a shopping trolley turn effect right now.
If I want to check changes in rotation to the Main Camera what is the best way to achieve this?
Any assistance greatly appreciated!