Attaching a gizmo to a camera with useRightHandedSystem

Hi everyone,

It looks like I may have found an issue in the camera gizmo work you guys introduced recently.

Adding a gizmo to a camera in a scene that has useRightHandedSystem enabled results in some interesting behavior.

Steps to reproduce:

  1. Visit

  2. Click on the box

  3. Use the PositionGizmo to move the camera

Expected Behavior: The Gizmo moves the camera as it’s intended to.

Actual Behavior: The camera moves but also flips erratically on it’s Y axis.

Thanks for your time!

pinging @Cedric (Please just be patient as Cedric will only return on Monday)

1 Like

Sounds good, thank you!

I’m back from vacation. This looks like a bug to me. Let me check that.


PR is live [gizmo] fix camera LH/RH coord + fix instanced meshes update by CedricGuillemet · Pull Request #8844 · BabylonJS/Babylon.js · GitHub