I’m trying to rotate meshes with the plane rotation gizmo and the meshes get extremely distorted. Just changing the z value for the axis to a 1 in the plane rotation example given by the playground example at https://www.babylonjs-playground.com/#31M2AP#11 and rotating the cube causes the cube to distort and expand.
Pinging @Cedric
By changing the z value to 1, you mean ending up with a vector like this ?
new BABYLON.Vector3(0,1,1)
The normal of the plane must be normalized. You can normalize it like in this PG:
https://www.babylonjs-playground.com/#31M2AP#107
Ahhhh, I see, thank you!
Sorry, I’m pretty new to Babylon so still learning the basics
No worries
Have fun with bablyonjs and don’t hesitate to ask questions!