Linus
August 20, 2020, 8:27am
1
I use an ArcRotateCamera and at startup I set alpha and beta to get a custom start angle. This works nicely provided the view is visible at load. However, if the load is done of screen alpha and beta are reset when the view is eventually viewed.
Any suggestions to someone who’s new to Babylon?
Hi @Linus ,
want to share an example and a way to reproduce this?
Linus
August 20, 2020, 11:46am
3
I tried now to replicate it in Sandbox, but didn’t manage. It could be that the sandbox does not allow me to recreate the exact circumstances
Will be hard to help without understanding how the scene initializes. Any code you can share? can you deploy your code somewhere (unminified)?
Linus
August 20, 2020, 12:41pm
5
Yeah… trying to figure out some way to give you something useful…
Linus
September 9, 2020, 3:10pm
6
I have now managed to create a Playground:
https://www.babylonjs-playground.com/#UD9LU6#31
It seems changing target of the camera after setting alpha/beta but BEFORE a frame is rendered makes alpha/beta not be respected.