However, it starts to tumble when I try to rotate the view left or right. Rotating the view top to bottom works fine. How do I ensure that left to right rotation also works correctly? Also, the up and down rotation gets stuck after a point. It seems constrained. How do get rid of the constrains. Is there a way to set orientation/view by clicking a button?
I am using the below code:
However, it starts to tumble when I try to rotate the view left or right. Rotating the view top to bottom works fine. How do I ensure that left to right rotation also works correctly? Also, the up and down rotation gets stuck after a point. It seems constrained. How do get rid of the constrains. Is there a way to set orientation/view by clicking a button?
Browser Affected