Hi!
I'm having a problem with my camera alignment on the alpha axis.
I would like that when I click on a box my camera is aligned in the axis.
It works on small variation of rotation but if I pass on rotations higher than about 180 ° on my dome my camera makes a complete turn on itself and aligns itself.
Would anyone have a solution to fix the problem.
I probably do not use the good method I put you a playground with my code used:
http://www.babylonjs-playground.com/#XCGI1K
Thank you!