How to make an actor snap back to the original x position but a variable Y?
Ok let me explain that better...
I have an actor that you can drag but when it is released I want it to go back to x 240 (I already have that done).
The Y is where I need help. I want it to snap to a position in Y from Y80 to Y260 depending on where it was released. If it was closer to the 80 then to the 80 and so on.
I have an actor that you can drag but when it is released I want it to go back to x 240 (I already have that done).
The Y is where I need help. I want it to snap to a position in Y from Y80 to Y260 depending on where it was released. If it was closer to the 80 then to the 80 and so on.
Comments
Darren.