Uploaded August 2024 | Updated November 2026, 2 days ago
In this Godot 4 tutorial, we're adjusting our Door Component so that the door will always open away from the player and not hit them in the face. This will create a smart or two-way door.
🔥 GET THE SOURCE FILES ►► patreon.com/collection/138350?view=expanded
🔔 FREE BASIC FPS SETUP SOURCE FILES ►► stayathomedev.itch.io/basic-fps-controller
-----------------------------------------------------------------------------------
✅ Basic FPS Setup Video ►► youtu.be/N-jh8qc8tJs
✅ Interaction Component ►► youtu.be/OpaRvCUDr8o
✅ Door Component ►► youtu.be/cbnxUUDojQQ
----------------------------------------------------------------------------------
0:00 Creating a Two-Way Door
0:29 How to Check Player Side
0:45 Using a Dot Product
1:08 Adjusting Door Component Script
1:20 Setting Forward Direction
1:50 Checking the Dot Product
2:15 Adjusting the Door Rotation
2:43 Final Result
-----------------------------------------------------------------------------------
This series is part of my sponsored Godot FPS Project where we will walk through how to create an 3D FPS game in Godot 4, step by step. I won't be skipping any steps in the process and everything will be sequential video to video.
This initial basic FPS setup project is available for free to download and use using the MIT license via the link below. For all future videos, the project source files will be available to my GitHub Sponsors.
Joining my Patreon in one of the 3 tiers will give you:
- access to the private Discord channel
- your name in the project README
- early access to tutorial videos
- power to vote on what mechanics get covered in future videos
- full access to the project source files to use in your own projects
-----------------------------------------------------------------------------------
STAYATHOMEDEV ►► stayathomedev.com
TWITTER ►► twitter.com/StayAtHomeDev
MY GODOT ASSETS ►► stayathomedev.itch.io
PATREON ►► patreon.com/StayAtHomeDev_
#godot #godotengine #fps
In this Godot 4 tutorial, we're adjusting our Door Component so that the door will always open away from the player and not hit them in the face. This will create a smart or two-way door.
🔥 GET THE SOURCE FILES ►► patreon.com/collection/138350?view=expanded
🔔 FREE BASIC FPS SETUP SOURCE FILES ►► stayathomedev.itch.io/basic-fps-controller
-----------------------------------------------------------------------------------
✅ Basic FPS Setup Video ►► youtu.be/N-jh8qc8tJs
✅ Interaction Component ►► youtu.be/OpaRvCUDr8o
✅ Door Component ►► youtu.be/cbnxUUDojQQ
----------------------------------------------------------------------------------
0:00 Creating a Two-Way Door
0:29 How to Check Player Side
0:45 Using a Dot Product
1:08 Adjusting Door Component Script
1:20 Setting Forward Direction
1:50 Checking the Dot Product
2:15 Adjusting the Door Rotation
2:43 Final Result
-----------------------------------------------------------------------------------
This series is part of my sponsored Godot FPS Project where we will walk through how to create an 3D FPS game in Godot 4, step by step. I won't be skipping any steps in the process and everything will be sequential video to video.
This initial basic FPS setup project is available for free to download and use using the MIT license via the link below. For all future videos, the project source files will be available to my GitHub Sponsors.
Joining my Patreon in one of the 3 tiers will give you:
- access to the private Discord channel
- your name in the project README
- early access to tutorial videos
- power to vote on what mechanics get covered in future videos
- full access to the project source files to use in your own projects
-----------------------------------------------------------------------------------
STAYATHOMEDEV ►► stayathomedev.com
TWITTER ►► twitter.com/StayAtHomeDev
MY GODOT ASSETS ►► stayathomedev.itch.io
PATREON ►► patreon.com/StayAtHomeDev_
#godot #godotengine #fps


![I Made Mario in Godot So You Can Too
Hey everyone, over the past couple months, Ive been busy building a complete 3D Platformer Course for Godot, inspired by the gameplay and movement of Mario.
🔔 Get The Course - Exclusive $45 OFF Coupon
[COUPON EXPIRED]
⭐ Course Page - Launches July 12
https://coloso.global/en/products/indiegamedeveloper-stayathomedev-us
Over 15 hours of tutorials across 28 videos covering everything from character movement and camera systems to enemy AI, save systems, UI, and a full menu system. The course starts with a blank project and ends with a complete, shippable game you built yourself.
3D assets used are from Creative Commons source including: GDQuest, Kenney, and KayKit.
✅ SUPPORT THE CHANNEL, GET TUTORIAL SOURCE FILES
https://www.patreon.com/c/StayAtHomeDev_
🔥 Wishlist My Godot Game, Children of Kronos
https://store.steampowered.com/app/3640450/Children_of_Kronos/?utm_source=youtube&utm_medium=description&utm_campaign=course
STAYATHOMEDEV ►► https://www.patreon.com/c/StayAtHomeDev_
TWITTER ►► https://twitter.com/StayAtHomeDev
BLUESKY ►► https://bsky.app/profile/stayathomedev.bsky.social
MY ITCH.IO PAGE ►► https://stayathomedev.itch.io/ I Made Mario in Godot So You Can Too](https://i.ytimg.com/vi/vrj3sPeWzBk/mqdefault.jpg)







