Camera circle around a selected object?

Hello! is it possible to use Shapespark JS SDK to achieve visual effect of having camera circle around a selected object? similar as this one https://showroom.littleworkshop.fr/ this one?

There is no API function that’d allow you to make steady circling, but if you had 2 or more views around the object, you could use the Viewer.switchToView function to move the camera around the object in a few steps.

The views don’t have to be defined in the scene. You can create ad-hoc views in JavaScript, as in the example from the above API documentation.

1 Like