@Cedric, actually I’ve got a question about gizmoManagers. I think the main reason why I’m creating many gizmoManagers it’s because I want different dragBehaviors on specific meshes.
Can we, in babylon, somehow distinguish different dragBehavior on the same gizmo (for the same gizmo, eq. yPlane)?
I made this playground for an example https://playground.babylonjs.com/#4YM59Z#1
it’s no matter to which sphere gizmo is attached, it will always console.log(“sphere 1 drag behavior”). I know I could make global variable and change it in the
gizmoManager.onAttachedToMeshObservable and then add some
switch in the
onDragObservable but I guess that’s not the point. Or is it?
I think it would be great if there was info about mesh the that’s being dragged, in the callback function