I’m trying to build a tool that helps user to “align” a 3d scanned object with the origin of the coordinate system, since I need that for some downstream processing. But when I bake the GizmoManager transform weird things happen. Does anyone know the magic incantation I need to perform on my transform Matrix to make it something that is correctly applicable to my glb vertices? And is this a bug?
- use the gizmo to move the model closer to the origin of the x,y,z axes, and rotate it to align with those axes.
- then click the green “bake” button in the top left of the screen.
Actual: model jumps to random wrong location.
Expected: the model should not move when transform is baked.