I am playing around with the boundingBoxGizmo. It is nice and exactly what I need for my project. But I wonder how to adjust two things:
I want to allow scaling of x&z-axis. y-axis should be prevented. So there is no need for the gizmo cube at top and bottom. In addition to that the gizmo cubes in the corners should scale x and z simultaneously but don’t affect y.
If I drag one of the gizmo cubes at a side the object scales way slower than my mouse moves. The object should scale exactly with my mouse movement.
I appreciate your help. In addition of using the boundingBoxGizmo I tried to adapt it so I have more control. Unfortunately I am not able to fix the pivot points: https://playground.babylonjs.com/#V0RERN#5
I tried to scale the cube with dragging one of the red bars. To do so the pivot point has to be at the opposite bar of the one that is dragged. I don‘t understand how you achieved that for boundingBoxGizmo.