Quote:Original post by LittleFreak
What I have come down to is that its done using the HAVOK physics engine. And reading alittle into that engine... they called it Welding. (The act of an object being drawn to another)
Havok has nothing to do with this, any physics engine can do it:
- ray cast in the opposite direction of the player's up vector
- align the player's up vector with the hit normal
- rinse and repeat