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
En esta página del sitio puede ver el video en línea First Person Controller - Using Doors (EP12) [Unity Tutorial] de Duración hora minuto segunda en buena calidad , que subió el usuario Comp-3 Interactive 14 enero 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 17,200 veces y le gustó 435 a los espectadores. Disfruta viendo!