Question by
exalted_studio · Feb 08, 2020 at 11:16 AM ·
camerarotationrotatearound
Limit Rotation with RotateAround on 2 axis
This question is exactly the same at this link here https://answers.unity.com/questions/438836/limit-camera-rotation-with-rotatearound.html
but I want to limit the rotation in the X and in the Y axis
The script in the link works perfect for both axis individually, but needs to be changed for doing both at once.
Thanks,
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612222905im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Maintaining Camera Rotation between modes 0 Answers
Make camera rotate around sphere in all directions 0 Answers
Manual RotateAround 0 Answers
How can I use Mathf.Clamp? 1 Answer