What problem does it solve?
This Skill helps you create a native Godot 4.6 enemy AI that can patrol waypoints, detect the player, navigate around obstacles, and switch between behaviour states without relying on third-party AI addons.
Core Features & Use Cases
- Native Navigation: Uses NavigationRegion3D and NavigationAgent3D for real 3D pathfinding and avoidance.
- Node-Based FSM: Organizes patrol, chase, and attack behavior into reusable state nodes composed onto a CharacterBody3D.
- Perception Seams: Supports detection range plus line-of-sight checks for enemies that aggro only when appropriate.
- Practical Use Cases: Build guards, monsters, or NPC enemies that walk routes, react to the player, and recover from common navmesh and spawn-time pitfalls.
Quick Start
Use this skill to implement a Godot enemy that patrols Marker3D waypoints, chases the player when seen, and attacks on cooldown using the provided native navigation and state machine pattern.