Автор - Cashew OldDew
ссылка -
От автора:
This tutorial aims to replicate steering behavior and visual debugging for forces through draw functions in Godot 4.2
Steering is one of the simplest natural behaviors that can be implemented in a video game for an autonomous agent. If your game has a car, an animal looking for food or anything that is able to follow a target, then steering can be applied to it. Additionally, when working with physics, there is a chance that not everything will work as planned every time. For such cases, being able to see how the forces behave at runtime is essential for easy debugging. In order to draw these, Godot provides functions to draw lines, circles and many other two dimensional shapes.
While steering is already a very interesting topic, we are just dipping our toes into autonomous agents and natural behaviors. I recommend reading Nature of Code from
If you want to see some other interesting autonomous agent behaviors implemented in Godot, please let me know in the comments.
The wonderful assets I used are from the Kenney Fish Pack:
64 views
459
120
3 days ago 00:05:21 3
Godot 4 - How to stop enemies falling off platforms using a RayCast
3 days ago 00:09:38 12
Godot 4 - 3D Dice Rolling Animation
4 days ago 00:36:07 22
Godot 4 - A Complete Guide to Y-SORTING
4 days ago 00:14:50 19
Godot 4 - Build Sudoku Game
4 days ago 00:05:22 16
Godot 4 - Random Items with Rarity Logic
5 days ago 00:07:06 15
Godot 4 - How to make things float
5 days ago 00:05:48 18
Godot 4 - Button Push
5 days ago 00:06:27 23
Godot 4 - 3D overlay on 3D scene
6 days ago 00:02:58 32
Godot 4 - Mesh Masks To See-through Other Objects
6 days ago 00:41:21 127
Godot 4 - Your First 3D Platformer Tutorial
6 days ago 00:04:09 25
Godot 4 - Analog Clock
6 days ago 00:18:05 27
Godot 4 - Making Minesweeper
6 days ago 00:36:39 552
Godot Engine 4 - Создание базового Java / Kotlin плагина для игры в Android Studio
7 days ago 00:09:39 33
Godot 4 - Rigid Body Character Controller
7 days ago 00:15:55 31
Godot 4 - Visibility Occlusion
7 days ago 00:02:07 18
Godot 4 - Create a 3D Minimap
7 days ago 00:14:37 21
Godot 4 - CARD GAME Tutorial (part 7) - Create an OPPONENT
1 week ago 00:02:10 583
Automate Level Design with Tiled Automapping & Godot 4.3 C#