Myvideo

Guest

Login

Godot 4 - Steer and Draw Forces

Uploaded By: Myvideo
14 views
0
0 votes
0

Автор - 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:

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later