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.
54 views
570
178
1 month ago 00:05:21 3
Godot 4 - How to stop enemies falling off platforms using a RayCast
1 month ago 00:09:38 12
Godot 4 - 3D Dice Rolling Animation
1 month ago 00:36:07 22
Godot 4 - A Complete Guide to Y-SORTING
1 month ago 00:14:50 19
Godot 4 - Build Sudoku Game
1 month ago 00:05:22 16
Godot 4 - Random Items with Rarity Logic
1 month ago 00:07:06 15
Godot 4 - How to make things float
1 month ago 00:05:48 18
Godot 4 - Button Push
1 month ago 00:06:27 23
Godot 4 - 3D overlay on 3D scene
1 month ago 00:02:58 32
Godot 4 - Mesh Masks To See-through Other Objects
1 month ago 00:41:21 127
Godot 4 - Your First 3D Platformer Tutorial
1 month ago 00:04:09 25
Godot 4 - Analog Clock
1 month ago 00:18:05 27
Godot 4 - Making Minesweeper
1 month ago 00:36:39 552
Godot Engine 4 - Создание базового Java / Kotlin плагина для игры в Android Studio
1 month ago 00:09:39 33
Godot 4 - Rigid Body Character Controller
1 month ago 00:15:55 31
Godot 4 - Visibility Occlusion
1 month ago 00:02:07 18
Godot 4 - Create a 3D Minimap
1 month ago 00:14:37 21
Godot 4 - CARD GAME Tutorial (part 7) - Create an OPPONENT
1 month ago 00:02:10 583
Automate Level Design with Tiled Automapping & Godot 4.3 C#