Godot 4 - How To Know if Your Raycasts are Hitting Anything
Автор - Thomas Yanuziello
ссылка -
От автора:
You’ve added a ray cast node to your game but you’re not sure if it’s actually hitting anything or not.
From the menu bar, open the Debug menu, and toggle on Visible Collision Shapes.
Then run the game again. You’ll not only be able to see all of your game’s collision shapes rendered while the game is playing, But also ray casts will be drawn as arrows which change colour when they are hitting something. When Fierce Tooth approaches the ledge, the ray cast arrow turns blue since it is no longer colliding with the ground, telling the shark to turn around. You can also see exactly where dynamic ray casts are pointing, and whether or not they are being occluded by terrain or other obstacles.
2 views
499
156
6 months ago 00:00:44 1
Как улучшить камеру в играх / Плавное движение камеры
7 months ago 00:45:40 1
Godot 4 - Online Multiplayer FPS From Scratch
7 months ago 00:18:24 1
Вот как СЖИГАЮТ ЖИР на животе ЗА 2 мин! Я тоже так делаю и вот что произошло через 7 дней
7 months ago 00:25:49 1
Build a Platformer with Godot #5 - Enemy & Player Damage
7 months ago 00:21:44 1
Build a Platformer with Godot #4 - Player Gun
7 months ago 00:24:55 1
Build a Platformer with Godot #3 - Adding Bullets
7 months ago 00:06:11 1
3D Movement in Godot in Only 6 Minutes
7 months ago 00:21:25 1
Как работать с сигналами в Godot 4 / await, connect
7 months ago 00:48:56 1
Княгиня Ольга сделала то, чего не сумел сделать князь Игорь: укрепила разваливающееся государство
7 months ago 00:20:11 1
Build a Platformer with Godot #2 - Player Movement
7 months ago 00:34:02 1
Ультражесткое введение в Godot Engine // Урок для продолжающих