- Home /
Question by
MMithy · Mar 09 at 02:52 PM ·
rotationgunclampquaternionsclamped rotation
How to lerp rotate the gun to the opposite of ur mouses X position and clamp it
i wanna lerp the position of the gun to the position of the gun + the mouse x position but i dont want the gun to rotate more than -30 and 30 on the y axis... pls help i have no idea how to even start i just want the gun to not always be stuck in its place and have more movement so i decided to do this... also like in the game "karlson" by danidevstuff
Comment
Your answer
Follow this Question
Related Questions
Clamp gyro rotation 0 Answers
Limit Rotation of physics object in 2D 1 Answer
How to clamp character rotation on Y and X axis? 1 Answer
Camera clamp angle has issue at inspector angle of 0 degrees 0 Answers
How to clamp rotation of an object? 2 Answers