ezEngine  Release 25.03
ezAgentSteeringEvent Struct Reference

Public Types

enum  Type {
  TargetReached, TargetCleared, PathToTargetFound, ErrorInvalidTargetPosition,
  ErrorNoPathToTarget, WarningNoFullPathToTarget, ErrorOutsideNavArea, ErrorSteeringFailed
}
 

Public Attributes

Type m_Type
 
class ezAgentSteeringComponentm_pComponent = nullptr
 

Member Enumeration Documentation

◆ Type

Enumerator
TargetReached 

The agent reached the current target location.

TargetCleared 

The agent's target location was cleared and it is now not moving further.

PathToTargetFound 

Path-finding was successful, agent will follow the path now.

ErrorInvalidTargetPosition 

The target position cannot be reached because it is not inside the navigation area.

ErrorNoPathToTarget 

Path-finding failed, the target location cannot be reached.

WarningNoFullPathToTarget 

Path-finding resulted in a partial path, so one can get closer to it, but the target cannot be reached.

ErrorOutsideNavArea 

The current agent position is outside valid navigation area.

ErrorSteeringFailed 

Some generic error.


The documentation for this struct was generated from the following file: