3D text does not seem to work properly with BoundingBoxGizmo.I’m not sure it’s a Bug.
And it seems that the origin is below the text, not in the center of the text.
PG:https://playground.babylonjs.com/#4TBMBR#128
3D text does not seem to work properly with BoundingBoxGizmo.I’m not sure it’s a Bug.
And it seems that the origin is below the text, not in the center of the text.
Thanks for pointing this out.
Looks like the docs should be updated to say the y coord is at the bottom of the text since only the x and y coords are centered.
@Cedric about the handles not showing up on the text for the bounding box gizmo. I’m not sure if it’s a bug or just a limitation.
I’m taking a look.
Anchors have a fixed size by default and with the difference in scaling (text is big in world size) it’s rendered too small to be visible. You can change the setting:
gizmoManager.gizmos.boundingBoxGizmo.rotationSphereSize = 10;
But mesh bounding box is also used and scaling difference between them might lead to glitches.
Best solution is to set its size as a screen size like this:
gizmoManager.gizmos.boundingBoxGizmo.fixedDragMeshScreenSize = true;
Thank you so much!