Skip to main content

AI

Plasma provides tools for detecting nearby objects, choosing an NPC's behavior, and moving it through a level.

  • Sensor components detect markers in spheres, cylinders, or cones. Optional physics checks test visibility.
  • The AI Plugin adds runtime navigation, utility-based behavior selection, environment queries, cover, squads, and smart objects.
  • State machines execute behavior logic, while blackboards share information between AI, gameplay, and animation.

Start with a navmesh path test to check the level's walkable space. Then add navigation and, when the NPC needs to choose its own actions, an AI Agent and archetype.

In this section​