Implementing a point-and-click navigation logic [Godot 3/C# 🇬🇧 Tutorial]

preview_player
Показать описание
#godot #godotengine #gamedev #ai #navigation

Let's see how to setup a simple point-and-click navigation system for a little ship thanks in Godot/C# thanks to the engine's raycasting and navigation built-ins :)

00:00 - Introduction
00:52 - Clicking on the ground
08:08 - Preparing nav assets
11:48 - Moving our agent
17:57 - Conclusion
Рекомендации по теме
Комментарии
Автор

Awesome work! Godot C# side of things has been missing these kinds of explanations. :)

Kurereha
Автор

Awesome! Although I use GDScript for my game, this is very helpful, thanks!

lfloEN
Автор

it doesn't seems to work with Godot 4 as there is no Spatial class to inherit from and I can't find the equivalent ATM. Also the sintax for catching the input is slightly different but I figured out the small changes

riccardodinuzzo
Автор

Salut Mina, est-ce que ce projet a évolué en un jeu commercial? Est-ce que tu as construit un moteur (dans Godot) sur ce principe?

mberg
Автор

Can you show the UnitTargetLocation script(7:04)? In Godot 4, the line "private UnitTargetLocation _unitTargetLocation;" (7:15) does not work for me. Help me please )

wounter
Автор

Hey ! Thank you for the tutorial, i use godot 4 and I have a problem at this step : var intersection = state.IntersectRay(origin, end) ; IntersectRay dont take the parameters origine, end and make a mistake :/

dassel
Автор

Anyone knows how to catch a click event on a Node3D *when it's inside a Viewport?* I haven't managed.

mberg
welcome to shbcf.ru