yomotsu / camera-controls

A camera control for three.js, similar to THREE.OrbitControls yet supports smooth transitions and more features.
https://yomotsu.github.io/camera-controls/
MIT License
1.89k stars 241 forks source link

Can you add an "autoRotate" function, like OrbitControls in Threejs? #513

Open l251500 opened 1 month ago

l251500 commented 1 month ago

Is your feature request related to a problem? Please describe.

I really like this project, and I have a small suggestion. Can you add an "autoRotate" function, like OrbitControls in Threejs? I would like to adjust its speed so that when I click on the screen, the automatic rotation stops and immediately switches to manual control. Additionally, I need a delay time to enable automatic rotation again after a certain amount of time of unmanned operation. Looking forward to your reply, thank you

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

yomotsu commented 1 month ago

thanks for using camera-controls. what about this example? https://yomotsu.github.io/camera-controls/examples/auto-rotate.html

l251500 commented 4 weeks ago

thanks for using camera-controls. what about this example? https://yomotsu.github.io/camera-controls/examples/auto-rotate.html Thank you very much, this is exactly what I want