Huh. But scaling is already not preserved in the first PG. Plus I get all sort of other issues in this version, if I start by zooming the camera. In some case, the mesh would even go completely haywire.
And the second PG seems to work fine and also has scaling. So in the end, I guess my question is: What is your issue with your second PG?
The first PG with Gizmo.PreserveScaling = true.Then it works uncorrectly.
But if i set Gizmo.PreserveScaling = false.Gizmo works correctly.(The second PG)
I see. So I guess its time to return to this once more because obviously, it doesn’t work . Hopefully, you’ll get a positive reaction from the people in charge. @cedric may be ? Meanwhile, have a great day,
Like blender 3D editor.It has a mesh list,and we can select mesh then the mesh instance in scene will attach to a gizmo.
PG is an example that reproduce the problem quickly.It will has some mistakes when i take BJS to develop an 3D editor.
I find that when i click the child mesh to change attachedMesh.It will invoke _attchedNodeChanged.But when it restores the attachedMesh parentNode,the attachedMesh worldMatrix is uncorrect.