From http://forum.unity3d.com/threads/176606-Automatic-Closing-door(need-help)