Switch DeviceOrientationControl / OrbitControl

Hi everyone, little tip discovered by chance today. I’m looking to do 360° and switch between DeviceOrientationControl and OrbitControl.
Since the beginning I try to have the DeviceOrientationControl active on mobile and a button to switch to OrbitControl. But once the switch is made to OrbitControl the camera is blocked on one point.

For a reason that escapes me for the moment, if we activate first the OrbitControl and then switch to the DeviceOrientationControl everything works correctly (except the position of the camera but a topics already exists for that)

Hopefully this will help :wink: