Unity Game Development Essentials Book - Question about door

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!

http://forum.unity3d.com/viewtopic.php?t=49060

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”