How To Create Smart Doors // Make An FPS in Godot @stayathomedev
How To Create Smart Doors // Make An FPS in Godot  @stayathomedev
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
How To Create Smart Doors // Make An FPS in Godot5 Games Made in Godot To Inspire You (07/04/26)5 Games Made in Godot To Inspire YouI Made Mario in Godot So You Can Too5 Games Made in Godot To Inspire YouNEW Godot Engine 3D Mascot UnveiledWhy You Should NOT Use the Godot Engine5 Games Made in Godot To Inspire You (05/28/25)5 Inspiring Games Made in Godot  - This Week in Godot (03/01/25)How to Create Custom Splash Screens in the Godot EngineMust-Have Addon For 3D Games in Godot5 Games Made in Godot To Inspire You (03/15/25)
StayAtHomeDev |

How To Create Smart Doors // Make An FPS in Godot

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER