Well go here for a complete tutorial and this is called interlocking objects http://www.forgehub.com/forum/showthread.php?t=973