- Home /
Question by
robotmaker01 · Aug 16, 2012 at 08:26 AM ·
rotatethirdpersoncontrollermouse-look
third person controller and mouse look
third person controller make it that when you press right or left key you rotate, but i want the x axis only rotate with mouse look what can i do?
Comment
Answer by Starlight · Aug 16, 2012 at 10:48 AM
Goto Edit->Project settings->Input. Find there "Horizontal", and set it's Type to mouse only.
Also http://docs.unity3d.com/Documentation/ScriptReference/Input.GetAxis.html
Your answer
Follow this Question
Related Questions
Camera rotation around player while following. 6 Answers
Rotate an OBJECT along Y axis to look at mouse cursor 0 Answers
all players spinning[Photon] 1 Answer
Player keeps looking down 1 Answer
Can't use camera.main [SOLVED] 1 Answer