Basically, I want to create an earthquake effect user follow camera rotation property. The value is chinging exactly as I expected but it’s not working.
Is it impossible to rotate follow camera? If it, then how to create an earthquake effect?
I would be grateful if anyone could consider a little precious time for me.
Thank you, everyone.
There is no rotation property for an ArcRotateCamera. you use an alpha (around Y axis) or beta (around Z axis) value to rotate instead see Cameras - Babylon.js Documentation.
@JohnK
The issue I was having while looking at this was, that whenever a lockedTarget is set, the rotation property of the axes, or at least the Z-axis of the camera, isn’t used. https://www.babylonjs-playground.com/#BYG518#26
I’m not sure if it’s possible, or if a better approach would be to create a custom camera based on the followCamera.