- Home /
Door animation
I am trying to make a building walkthough that show a building for a client. What im wanting to do is make it so that when you come up to a door it pops up with a message "press e to open" then when u press e it opens and u can enter but then on your way out if u press e again it closes.
Im not squite sure how to go about making a double animation play as for the open first time and close the second or if you come back up to it you can then do it again.
Answer by programmrzinc · Mar 06, 2012 at 02:45 AM
I would use a Box Collider with the OnTriggerEnter() function and the Animation(which is ctrl + 6) to do It.
Your answer
Follow this Question
Related Questions
can some onehelp me with this code(Js). (No Errors). 1 Answer
Mousebutton held down loop animation on another gameobject does not work? 0 Answers
Play specific animation in mechanim 1 Answer
Alternative To "SetEditorCurve"? 1 Answer
Using weapon switching script makes any weapons with animations disappear 2 Answers