In above video i have shown how to make a automatic door or you can say a door slam function for horror games, although implementation might be a little different but the logic behind is same. With this simple method with detailed explanation you would be able to use this script or function in your game.
Tags:
Unity Help