Navigation
API > API/Plugins > API/Plugins/MassNavigation > API/Plugins/MassNavigation/Avoidance
Inheritance Hierarchy
- FMassSharedFragment
- FMassStandingAvoidanceParameters
References
| Module | MassNavigation |
| Header | /Engine/Plugins/AI/MassAI/Source/MassNavigation/Public/Avoidance/MassAvoidanceFragments.h |
| Include | #include "Avoidance/MassAvoidanceFragments.h" |
Syntax
USTRUCT&40;&41;
struct FMassStandingAvoidanceParameters : public FMassSharedFragment
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | GhostMaxAcceleration | Max acceleration of the ghost. | |
| float | GhostMaxSpeed | Mas speed the ghost can move. | |
| float | GhostObstacleDetectionDistance | The distance at which neighbour agents are detected when updating the ghost. | |
| float | GhostSeparationDistance | ||
| float | GhostSeparationRadiusScale | Agent radius scale for separation. Making it smaller makes the separation softer. Range: 0.8..1 | |
| float | GhostSeparationStiffness | ||
| float | GhostStandSlowdownRadius | The steering will slow down when the ghost is closer than this distance to the target. Range: 5..50 | |
| float | GhostSteeringReactionTime | ||
| float | GhostToTargetMaxDeviation | How far the ghost can deviate from the target location. | |
| float | GhostVelocityDampingTime | How quickly the ghost speed goes to zero. The smaller the value, the more the movement is dampened. | |
| float | MovingObstacleAvoidanceScale | Much much avoidance is scaled for moving obstacles. Range: 1..5. | |
| float | MovingObstacleDirectionalScale | How much the ghost avoidance is tuned down when the moving obstacle is moving away from the ghost. | |
| float | MovingObstaclePersonalSpaceScale | How much extra space is preserved in front of moving obstacles (relative to their size). |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMassStandingAvoidanceParameters | GetValidated () |