Hello, I was wondering on how to create a demo experience for the BabylonJS viewer, because many people do not understand right away that this is a 3D viewer and not a picture.
Here are two examples of what people are doing:
I was thinking of using
autoRotationBehavior, but I have a few questions:
1 - is there a way to switch the rotation? We would like to move the model to the left and to the right and then make it spin?
2 - is there a callback on start and on stop. I could use
autoRotationBehavior.rotationInProgress in a render loop, but we stop the render loop when we have nothing to render and I would have to artificially create one.
Using something like:
scene.activeCamera.useAutoRotationBehavior = true; wait 1 sec scene.activeCamera.useAutoRotationBehavior = false;
I want to know when the animation has started/stopped so I could show/hide an overlay prompting the user to use their finger.