Reset orbitControl()

Hello everyone,
I am working on an application where if I press a button I enable orbitControl, if I press another one it should reset to a automatic rotation.

Is there anyway to reset orbitControl to 0 so the environment goes back to the first position?

You can reset the camera to its default settings with the camera() function

1 Like

Thank you so much! It worked perfectly