How to Make Switchable Lights in Godot 3D (Lamp + Switch System)
Автор: DrewienkoIndieDev
Загружено: 2025-12-29
Просмотров: 79
Описание:
In this video, we create switchable lights in Godot 4 using the interaction system built in the previous videos.
We connect a light switch to a lamp, animate the switch, and dynamically update the interaction prompt based on the current state of the light.
⚠ This video relies on the interaction system from the previous videos, so I recommend watching those first.
▶ Previous interaction system video:
• How to make a BETTER Object INTERACTION SY...
▶ Basic Door interaction video:
• How to Make a BETTER Object Interaction Sy...
👇 Github repo with with all the files:
https://github.com/DrewienkoIndieDev/...
🎵 Music:
"Sketchbook 2025-11-12" by Abstraction
https://tallbeard.itch.io/music-loop-...
(CC0 / Public Domain)
⏱ Chapters:
00:00 - Intro
00:32 - Setting up the lamp
01:21 - Setting up the Light Switch
02:46 - Lamp script
04:40 - Light switch script
09:53 - Putting lamp and switch into Main
10:55 - Assigning Lamp to a Switch
11:34 - Adjusting Light Strength and Range
11:56 - Final result
If this video helped you in any way, consider leaving a like or subscribing!
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: