I am working on a simple application using Broomstick to drag objects around a plane, so I am using Drag3D by adding a listener on each object and then setting that object to be the target of the Drag3D object when the mouse is pressed on it, and setting the target to be null when the mouse is released. This works very well in general, but I have noticed 2 odd effects:
1) When an object is clicked, and this is true for both the Cube and Loader3D loading a 3DS model that I’ve tried, and it becomes the drag target for the first time, it appears to jump up, as if it is moving higher on the plane that is perpendicular to the drag plane (up the Z-axis in this case, as I am dragging on the XY plane). I tried setting the z on the objects to zero hoping that maybe that would fix it, but the effect is the same.
2) Scaling an object amplifies both the “jumping up” effect described above, and it also seems to scale the drag effect by the amount the object was scaled, so moving small amounts causes the object to move dramatically.
In general though, it works great, so I’m hoping these problems have simple solutions. I can write and attach some sample code if that would help debug. Thanks!