Get Orbit Camera to Auto Orbit

Hey does anyone know of a quick way to get the Orbit Camera to auto orbit like in the BMW example?

Or know of a tutorial that has something similar? Just trying to get the camera to orbit until the user “does” something.

I would personally add an abstraction layer between the input controls and the orbit camera script.

So rather than touch/mouse/keyboard input -> Orbit Camera, I would have have touch/mouse/keyboard input -> Orbit Control -> Orbit Camera.

That way, you can add the auto orbit code and stop when input is detected from any input.

Here is a quick, cut down version of what I mean https://playcanvas.com/project/561263/overview/auto-rotate-orbit-camera

1 Like

Omg that is so cool!