- Home /
How can I get my player to turn?
So, I have recently started on an fps game, but I have already run into a problem. I can't seem to get my player to turn with the mouse. Everything I search up is outdated. If anyone has an answer to this, thanks in advance.
Comment
Best Answer
Answer by hectorux · Jun 28, 2018 at 10:29 PM
float rotSpeed; player.transform.Rotate(0,Input.getAxis("MouseX")*rotSpeed*Time.deltaTime,0);
Your answer
Follow this Question
Related Questions
Import Componet ( Variable ) Error Unexpected Token 3 Answers
FPS Animations for head and arms 0 Answers
Target frame rate between scenes 1 Answer
Launching my character with a cannon. 3 Answers
new to scripting need some fps controll help plz :) 2 Answers