struct
AIPerceptionComponent
- Module
- AINavigation
- Header
#include "AINavigation/AIPerceptionComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
bool | sightEnabled | Default true. |
float | sightRadius | Default 15.0f. |
float | loseSightRadius | Default 18.0f. |
float | sightFovDeg | Default 90.0f. |
float | eyeHeight | Default 1.6f. |
bool | hearingEnabled | Default true. |
float | hearingRadius | Default 10.0f. |
bool | damageEnabled | Damage: a hit on this perceiver is an immediate stimulus toward the instigator, whatever the eyes say. Default true. |
bool | touchEnabled | Touch: an enemy within Touch Radius is perceived without a sight cone or a line of sight — brushing past in the dark. Default false. |
float | touchRadius | Default 0.75f. |
bool | teamSenseEnabled | Team: a teammate within Team Radius that gains a target hands its last known position to this perceiver. Default false. |
float | teamSenseRadius | Default 20.0f. |
bool | predictionEnabled | Prediction: when sight of the target is lost, its last known position is carried forward along its velocity for Prediction Time seconds, so the search starts where the target went rather than where it was. Default false. |
float | predictionTime | Default 1.0f. |
float | forgetTime | Default 4.0f. |
int32_t | teamId | Default 1. |
bool | detectEnemies | Detection by affiliation (FAITeamAttitude): which attitudes this perceiver senses at all. Teams are hostile to every other team unless the game says otherwise, so the defaults sense exactly the other teams. Default true. |
bool | detectNeutrals | Default false. |
bool | detectFriendlies | Default false. |
float | sightMaxAge | How long each sense keeps an actor in memory after it last sensed it; an actor is forgotten once every sense has expired. 0 = Forget Time. Default 0.0f. |
float | hearingMaxAge | Default 6.0f. |
float | damageMaxAge | Default 12.0f. |
EAITargetPolicy | targetPolicy | Default EAITargetPolicy::Nearest. |
uint64_t | targetEntity | Default 0. |
Vec3 | lastKnownPosition | Default Vec3(0.0f, 0.0f, 0.0f). |
bool | canSeeTarget | Default false. |
float | timeSinceSeen | Default 0.0f. |
int32_t | heardCount | Default 0. |
std::string | lastStimulus | The sense that last updated the target or its position: "Sight", "Hearing", "Damage", "Touch", "Team", "Prediction" or "" — also published to the blackboard as LastStimulus. |
int32_t | damageCount | Default 0. |
int32_t | knownCount | Actors currently remembered by any sense (AIPerceptionSystem::GetKnownActors). Default 0. |
Generated from AINavigation/AIPerceptionComponent.h via ainavigation.json · Oct 27, 2026Version 1.0.0