Draggable (not physics) for physics objects

So I’ve ran into a bug where the very first physics object I create is able to be dragged (has normal draggable behavior). It works perfectly fine, the thing I like is, it has no delay and weight, the object moves instantly and without wobbling around. Changing the physics and draggablephysics properties don’t give nearly the same result.

So is there a way to change the physics behavior manually so these objects can be dragged with the normal draggable behavior?

I want to use this as a part of my ui where items can be freely dragged, moving these items should be fast but with the draggablephysics it feels slow and inprecise, worse on mobile phones than on pc.

Hey,

You can use these events (with the normal draggable behavior):

  • object is being dragged → disable physics2 behavior
  • (invert) object is being dragged → enable physics2 behavior
1 Like