Strange behavior when object is dragged with gizmomanager and PointerDragBehavior

Hi there

When I use gizmo manager with boundingbox enabled and pointerdrag behavior, the meshes have an abnormal motion. It seems that the mesh returns to the position of origin, You can test it when you drag one object and then another object in this PG: Babylon.js Playground
Does someone know a solution for this?


Can you give an example of this “abnormal motion”? I tried your PG and it looks normal to me.

To illustrate, if I select one object and then click on a second object, the second object immediately snaps back to its original position, and becomes no longer attached to the mouse pointer.

Looks like a bug. I’m taking a look today.

Actually not a bug. You have to detach defore attaching new. Like this:

1 Like