- Home /
Presure plate that triggers an animation
I made a object that when your player stands on it, it opens doors. But when he steps off of the object, the doors remain open. How do I make it so the doors only stay open while your on the object.
Comment
Best Answer
Answer by Alec-Slayden · Mar 30, 2011 at 12:15 AM
This can be done with OnTriggerExit, which you can use to call a coroutine function that runs until the doors have shut, or tells the door to use its shutting animation, etc.
Your answer
Follow this Question
Related Questions
Sliding door animation question. 3 Answers
How to trigger a door with an object not first person controller 1 Answer
Play Animation OnTriggerEnter 2 Answers
Trigger Door Animation 2 Answers
Player to Door Collision and Animation 3 Answers