- Home /
Question by
Plutarch_ · May 14, 2020 at 12:57 PM ·
troubleshooting
Alternate Ways of Controlling a Character's Rotation with a Mouse (FPS)
I am currently in the process of making my first Unity game (a First Person Shooter), and I have encountered a problem. Whenever I try to rotate the character using the mouse, instead of pivoting around its center, it pivots around a point roughly 20m in the distance. Thus, it not only turns, but moves as well. My script is attached as an image for those who are interested
script.png
(26.9 kB)
Comment
Your answer
Follow this Question
Related Questions
Unity Constant Crashing 1 Answer
How to play an animation with a trigger? 3 Answers
my button dosent work, became a light switch instead of a normal button (like a bell) 1 Answer
Trouble opening project from Asset store in Unity 5 (free) 1 Answer
Application not installed. Upgrade Unity3d and apk update trouble 0 Answers