Snap object so surface of other?
In a 3d sandbox universe where people can build, how would it be possible to snap one mesh to the surface normal of another closest mesh when let go? For instance, in the illustration, one would drop a cube as shown on the left, and it would then automatically position and rotate it as shown to the right. (There are currently no rigidbodies involved.) We are also dealing with mesh shapes other than cubes. Thanks a lot!
snapping.png
(7.6 kB)
Comment