I'm trying to control an object by dragging the mouse (on a PC) or dragging a finger (on a smartphone). I want the object to move relative to its current position; it shouldn't snap to the position of the mouse/finger. I have managed to do this, but I am having trouble with collisions. I want the dragged object to stop when it collides with another object, yet resume dragging (on the same unbroken drag movement) if the mouse/finger starts moving in a legal direction. Do you have any thoughts on this? I've attached my dragging test. Thanks!
Trackpad Collision Test.mfa