- Home /
using Mecanim for first person player
I have a first person player using mecanim animations set up to give realism to the walk movements. (the camera is set to the head bone of the model) But how can I also allow the camera to move around when the mouse is being moved around (mouse look)? and how can I do this?
Answer by infinitypbr · Jul 10, 2014 at 04:08 PM
I just wrote a bunch and then realized you're asking different question than I read! :)
I'd check the 1st person tutorial project. Chances are the scripts do mouse-look already.
If you attach a mouse-rotate to the character, and the camera is attached to the head, it'll move too.
Your answer
![](https://koobas.hobune.stream/wayback/20220613153712im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Minecraft-like arms 1 Answer
How do you add a fixed joint to a first person controller 1 Answer
Mecanim - making a character turn his torso towards mouse 2 Answers
First Person Controller won't mouselook. 2 Answers
Can't use camera.main [SOLVED] 1 Answer