Replies: 3 comments
-
Hi @anta199, thanks for reaching out. You can try setting a mouse listener and whenever that changes, update camera orbit. Check our panning example which covers lots of listeners and camera changes. |
Beta Was this translation helpful? Give feedback.
-
Hello @samaneh-kazemi! Thanks a lot for taking time to help. This seems really useful. But thanks a lot again! |
Beta Was this translation helpful? Give feedback.
-
Hi @anta199, I recommend playing around with the example I shared in glitch. You can also look at other examples we have to get more familiar with our API. There are a lots of great free online JS courses. It won't take long to get comfortable. You got this! |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is there a trivial way to trigger the model rotation by mouse movement instead of grabbing?
I would like to track the mouse position on the browser to rotate the element.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions