Horror game
I am making a horror game and I want you to be able to open and close doors when you click on them (I have a Player that's first person). How would I be able to do this? (preferably free!)
P.S. I would like to include the animation with the opening and closing doors. Also, can I get a script I can put on any door that doesn't have any errors? Thanks to all!
Answer by alexanderameye · Jan 04, 2017 at 10:23 PM
Hello! I created this script
https://www.assetstore.unity3d.com/en/#!/content/38694
that handles the opening and closing of doors in your game. The doors open and close by pressing E but this can be easily adjusted to detect a mouse click, and the script should work on any door, let me know if you encounter any error.
I hope this helps you out!
Alexander