- Home /
How to unlock cursor while moving the character?
So, I'm rotating camera around my character by moving the cursor left-right. The cursor is always visible, but I'm only able to move it while character is not moving. If the character is moving, cursor locks. But if I press any random button (i.e. V) while holding down the button for moving (i.e. W) cursor unlocks and I can rotate the camera while the character is still moving. If character stops and then starts moving again, the cursor is locked and I have to press a random button again to unlock it. I want the cursor to be unlocked all the time. I've tried few thing using Screen and Cursor classes but they don't seem to work. Any ideas how to fix this?
Your answer
Follow this Question
Related Questions
How do I make a 3D character move and rotate (turn) the same direction they move? c# 0 Answers
Movement along X and Z axis... 2 Answers
Most efficient/fastest way to rotate object around another object 0 Answers
How to Limit Z Axis on my FirstPersonCamera? 1 Answer
Saving Rotation of Sprite 1 Answer