Issue in vertical rotation #474
Answered
by
yomotsu
hanuRakesh16
asked this question in
Q&A
-
Hi all, I’m facing an issue in rotation. The object is rotating completely in horizontal , but in vertical (Up-down) it gets stopped. Someone help me to solve this issue. Thanks in advance. object-rotation.mp4 |
Beta Was this translation helpful? Give feedback.
Answered by
yomotsu
Jan 22, 2024
Replies: 1 comment
-
Because camera-controls is a sort OrbitControls, and limits the polar angle rotation. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yomotsu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because camera-controls is a sort OrbitControls, and limits the polar angle rotation.
If you wish that movement, try TrackballControls of three.js official repository.
https://threejs.org/examples/#misc_controls_trackball