Drag and drop help
-
Ahoy!
I'm trying to use Drag and Drop, but can't seem to get it to work quite right. Instead of following my finger smoothly, the object at time jumps away from my finger, or jitters back and forth. Any idea of what I'm doing wrong?
-
How does it jitter? Is it a physics or wall or scenery object?
-
@Aidan-Oxley It is a wall object as I don't want it affected by gravity. When you touch your finger to it, it shifts back and forth rapidly along the x-axis. I tried switching it to a physics object and it worked more smoothly, but now it is affected by gravity. Is there a way to turn off gravity for specific objects or by scene?
-
@This the set gravity behaviour (in advanced, under physics) turns off gravity for a specific object or for the world. If you want it to move exactly where you touch, you could use a "while touching" behaviour and enable "world coordinates" then use a move to point behaviour with those world coordinates.
-
@Jack8680 You mean while touching, and then yeah move to x and y position of the output (with world corrdinates enabled, unless you want it to teleport to 0,0 every second frame lol).
-
@Jack8680 Awesome. Thanks!
-
I did mean while touching, not started touching. Edited.