I’ve looked at the boundingBoxGizmo before and it’s worked great. However, when I just got back to it I saw some weird behaviour in the example playground:
If you try and rotate the mesh using the gizmo it does nothing. From the console I can see this warning: BJS - [11:20:55]: Unable to use a rotation gizmo matching mesh rotation with non uniform scaling. Use uniform scaling or set updateGizmoRotationToMatchAttachedMesh to false.
I’ve tried setting the updateGizmoRotationToMatchAttachedMesh, but that also doesn’t make it work. Is there something else I have to implement to make this work again?
Hi! Thanks for your quick response. The thing is, it used to work so I was wondering what changed.
Thanks to your comment I did realize that I misread the console warning and I thought it mentioned non uniform rotation. So I’ll continue on finding out how I can change the non uniform scaling
Oh, non uniform scaling is just when one of the xyz values isn’t the same as the others. But even if I make it uniform in this example I can’t rotate the meshes.
So maybe that warning was about something else? Since the issue is still there even when the scaling is uniform.
Oh, even more interesting. If I move the models from either the first or second playground and then try to rotate them with the boundingboxgizmo it snaps to a certain rotation and is then frozen again.