3D Navigation in Godot
Godot Version: 4.1.1 .NET Difficulty: Intermediate GitHub Repository: Completed tutorial here Related Project: Statue (Concept) Previous Godot Tutorial: Weeping Angel Effect in Godot Engine Table of Contents Introduction Creating the NavMesh Creating the Scene Creating the NavigationRegion Adding Agents Setting up the target Preparing the Agent Code for pathfinding to the player Avoidance Avoiding other agents Avoiding obstacles Debugging Conclusion Introduction Godot has some pretty good built-in tools for pathfinding and navigation, but when getting set up I found that the Godot docs don’t have a complete end-to-end example of getting everything setup. There’s lots of separate tutorials that cover different parts of the process, and if you can follow them all you can get it working, but I wanted to put together a single tutorial that covers everything from start to finish. ...