Navigation
API > API/Plugins > API/Plugins/MassAIBehavior
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMassProcessor
- UMassLookAtProcessor
References
| Module | MassAIBehavior |
| Header | /Engine/Plugins/AI/MassAI/Source/MassAIBehavior/Public/MassLookAtProcessors.h |
| Include | #include "MassLookAtProcessors.h" |
Syntax
UCLASS&40;&41;
class UMassLookAtProcessor : public UMassProcessor
Remarks
Processor to choose and assign LookAt configurations
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AngleThresholdInDegrees | Tolerance in degrees between the forward direction and the look at duration to track an entity | |
| float | DebugZOffset | Height offset that will be added for debug draw of the look at vector. | |
| float | Duration | Time an entity must use a random look at. | |
| float | DurationVariation | Variation applied to a random look at duration [Duration-Variation : Duration+Variation] | |
| FMassEntityQuery | EntityQuery_Conditional | ||
| float | QueryExtent | Size of the query to find potential targets |
Constructors
No constructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildTrajectory
(
const UZoneGraphSubsystem& ZoneGraphSubsystem, |
Builds look at trajectory along the current path. | |
| void | |||
| void | Execute
(
FMassEntityManager& EntityManager, |
||
| void | FindNewGazeTarget
(
const UMassNavigationSubsystem& MassNavSystem, |
Selects a nearby target if possible or use a random fixed direction | |
| bool | UpdateGazeTrackedEntity
(
const FMassEntityManager& EntitySubsystem, |
Updates gaze based on tracked entity. | |
| void | UpdateLookAtTrackedEntity
(
const FMassEntityManager& EntitySubsystem, |
Updates look at based on tracked entity. | |
| void | UpdateLookAtTrajectory
(
const FTransform& Transform, |
Updates look direction based on look at trajectory. |