Automatic Doors & Travelling with Key Cards

posted in DATT3701Group
Published January 19, 2019
Advertisement

We've turned the door to the escape pod into an automatic door. When the player enters the collider of the escape pod doors, the doors will open using an animation. Similarly, when the player exits the doors' collider, they will close with a closing animation. Only the player can activate the doors, no other objects. The script for this action is similar to the script that triggers the elevator animations.

Another script was made that parents a key card to the player once the player picks the key card up. The key card will stop being a child of the player once the player releases the key card. This enables the key card to travel through different scenes with the player.

 

- Kristen

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement