Search Unity

Unity Game Development Essentials Book - Question about door

Discussion in 'Community Learning & Teaching' started by aleph2012, Apr 11, 2010.

  1. aleph2012

    aleph2012

    Joined:
    Apr 4, 2010
    Posts:
    2
    Hello,

    I am working my way through the Unity book, and just got to the part where you add the outpost model to the game. Everything works, the door opens when I walk up to it, and it shuts after 3 seconds. But... when it slides shut, it doesn't go all the way, there is a gap between the side of the door and the door frame! I am not sure what is causing this. Any help much appreciated!
     
  2. rockysam888

    rockysam888

    Joined:
    Jul 28, 2009
    Posts:
    650
  3. brokenglass

    brokenglass

    Joined:
    May 14, 2010
    Posts:
    10
    Hi mate, I see this post is a bit old, but I recently posted solution to this issue.

    You need to change wrap mode to ClampForever in the splitting animations part of the inspector.

    Search for this on forum and you should see my solution :

    "Found solution for door not closing fully in tutorial book"