Page 1 of 1

How can I make my touch translation node snap to an object?

Posted: 14 Mar 2017, 12:33
by Luke47921
I have an object with a touch translation node attached, and I'd like to be able to snap it to the centre of another object if the two objects overlap (in 2D space) when the touch is released. I'd also like to be able to reset the touch object to its original position if it does not overlap with anything when the touch is released.

Any ideas how I might go about doing this?