Thanks, but that's not quite what I'm looking for. I need to be able to move the node by setting its position, and then have it snap to a surface when it's colliding.
edit: Sorry, my mistake, I figured out a way to make it work. Thanks for your help!