Jump to content
  • Advertisement
  • entries
  • comments
  • views

Automatic Doors / Travelling with Key Cards



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


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!