Question by
JustyGames · May 06, 2019 at 07:12 PM ·
rotationmovement3dmouselooklookrotation
How to Rotate player on Y Axis using Mouse position, but also Clamp the rotation distance?
Okay, I'm trying to create a Wild Guns style game and I need to be able to get the player to rotate on the Y axis to a certain distance (how you can Mathf.Clamp your distance using X position for movement), when you move the mouse left to right or vice versa.
Comment
Your answer
Follow this Question
Related Questions
Make the character move along a curved road. 0 Answers
Keep position of CharacterController relative to rotating platform 0 Answers
Rotate sphere to the direction of movement 0 Answers
How to make character face towards movement?,How to make character face towards the move direction? 0 Answers
Having issues with teleporting forward 0 Answers