Hey there everyone!
This is my first time posting but have found these posts very helpful. Hopefully this is a clear question. (May just be a bug?)
So I am importing geometry into Babylon and then want to be able to select a mesh by clicking it, and use the GizmoManager to position, scale and rotate that individual mesh.
The issue I am running into is that the pivot is at the origin no matter which mesh I select. I would like to be able to move the gizmo/pivot point some place else, potentially the center of the selected mesh. I’m hoping to make this work for a variety of imported models, hence the normalizingToUnitCube and mesh selection.
Here is a playground of me trying some of the many ways I have tried to make this work: https://www.babylonjs-playground.com/#Z38R7R#9
I have three commented out approaches in here 1) TransformNode, 2) PivotPoint, and 3) PivotMatrix. If you have any thoughts to make any of those work or something entirely different, would be greatly appreciated! Please and thank you for your time!
I worry that what I am trying to do might simply not be supported in conjunction with importing a GLTF/GLB and “normalizingToUnitCube”?