In this video I'm going to show you the best way to implement doors into a game, we're going to make them do a few things:
Open and close when interacted with
Open in the correct direction away from the player so they aren't batted backwards
Automatically close when the player moves away from them
It's gonna be a good one guys, stick around!
Join me and learn your way through the Unity Game Engine, the C# language and the Visual Studio editor. Remember, if this video was useful then DROP A LIKE! 👍
💯 Want to help me out and allow me to keep making these tutorials? Consider supporting the channel on Patreon:
/ comp3interactive
🤩 SPONSORED LINKS:
https://www.gigatank3000.com
/ gigatank3000
💬 Join the Discord community here:
/ discord
📱 Follow me on Twitter:
/ comp3int
📱 Play my games:
PC/Mac/Linux: https://comp3interactive.itch.io/
Google Play: https://bit.ly/2TisAQo
#UnityTutorial #Unity3D #Comp3interactive #GameDev
0:00 - Intro
1:15 - Exporting a door from Blender
2:00 - Importing to Unity
3:28 - Creating the Door script
8:24 - Creating the Animations
11:00 - Setting up the Animator
15:19 - Working example
16:19 - Automatic closing
18:30 - Locking interaction when animating
20:23 - Outro
On this page of the site you can watch the video online First Person Controller - Using Doors (EP12) [Unity Tutorial] with a duration of hours minute second in good quality, which was uploaded by the user Comp-3 Interactive 14 January 2022, share the link with friends and acquaintances, this video has already been watched 17,200 times on youtube and it was liked by 435 viewers. Enjoy your viewing!