Kookas
03-17-2006, 09:12 PM
I know how to make draggable objects. But I want to know how to:
1: Make an object snap to the correct location if it is dragged near the location. For example, drag a box to another box and if it is near enough to the target box it snaps into the box. NOTE: I am not actually using a box as the draggable, I am only using a box as an example.
2: Make an object go back to its starting position if it is not close enough to the target location.
1: Make an object snap to the correct location if it is dragged near the location. For example, drag a box to another box and if it is near enough to the target box it snaps into the box. NOTE: I am not actually using a box as the draggable, I am only using a box as an example.
2: Make an object go back to its starting position if it is not close enough to the target location.