Vibe Coding Encyclopedia

Enemy AI with state machines and behavior trees

Patrolling the behavior of the guard, dividing it into a state of suspicion, chasing, attacking, and returning, and each scene, the action tree is squeezyed from above to pick up the first successful branches — notice the main character with a field of view cone and foot sound.

Category
3D game fundamentals

Technical terms · Finite state machine (FSM) · Behavior tree (selector) · Vision cone + line of sight · Noise perception · breadcrumbs

Related techniques

Technique document (Korean)