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