LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

godot-enemy-ai - Build Native Patrol and Chase Enemies in Godot

Builds a Godot 4.6 enemy with native navigation, a node-based patrol-chase-attack FSM, and distance plus line-of-sight perception.

Tags

Updated: 2026-12-01

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Configure native 3D navigation
  • Implement a node-based FSM
  • Create patrol, chase, and attack states
  • Detect targets by range and line of sight
  • Move CharacterBody3D enemies
  • Resolve waypoint NodePaths
  • Register player and enemy groups

Inputs

  • Godot 4.6 project
  • Walkable floor geometry
  • NavigationRegion3D and NavigationMesh
  • Player node in the player group
  • Patrol waypoint Marker3D nodes
  • Patrol waypoint NodePaths

Outputs

  • Enemy scene and GDScript files
  • Native navigation movement
  • Patrol, chase, and attack transitions
  • Target detection state changes
  • Player and enemy group registrations

Requirements

  • Godot 4.6
  • Strictly typed GDScript
  • godot-code-rules skill
  • godot-composition skill
  • godot-navmesh-pathing-4-6 skill
  • Player node in the player group
  • Navigation mesh covering the walkable floor

Source

  • Spec: SKILL.md
Godot
enemy AI
3D navigation
finite state machine
patrol
chase
line of sight
GDScript
Configure native 3D navigation
Implement a node-based FSM
Create patrol, chase, and attack states
Detect targets by range and line of sight
Godot 4.6 project
Walkable floor geometry
NavigationRegion3D and NavigationMesh
Enemy scene and GDScript files
Native navigation movement
Patrol, chase, and attack transitions