| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/AI/Navigation/AvoidanceManager.h |
Include |
#include "AI/Navigation/AvoidanceManager.h" |
class UAvoidanceManager :
public UObject,
public FSelfRegisteringExec
Name | Description | ||
---|---|---|---|
|
AllCones |
Keeping this here to avoid constant allocation |
|
|
float |
ArtificialRadiusExpansion |
Multiply the radius of all STORED avoidance objects by this value to allow a little extra room for avoidance maneuvers. |
|
AvoidanceObjects |
All objects currently part of the avoidance solution. This is pretty transient stuff. |
|
|
uint32: 1 |
bAutoPurceOutdatedObjects |
If set then UAvoidanceManager::RemoveOutdatedObjects is responsisble for removing dead entries in AvoidanceObjects. |
|
bDebugAll |
||
|
uint32: 1 |
bRequestedUpdateTimer |
Set when RemoveOutdatedObjects timer is already requested |
|
DebugUIDs |
Print out debug information when we predict using any of these IDs as our IgnoreUID |
|
|
float |
DefaultTimeToLive |
How long an avoidance UID must not be updated before the system will put it back in the pool. |
|
float |
DeltaTimeToPredict |
This is how far forward in time (seconds) we extend our velocity cones and thus our prediction |
|
EdgeProviderInterface |
||
|
TWeakObjectPtr<... |
EdgeProviderOb |
Provider of navigation edges to consider for avoidance |
|
float |
HeightCheckMargin |
Allowable height margin between obstacles and agents. |
|
float |
LockTimeAfterAvoid |
How long to stay on course (barring collision) after making an avoidance move |
|
float |
LockTimeAfterClean |
How long to stay on course (barring collision) after making an unobstructed move (should be > 0.0, but can be less than a full frame) |
|
NewKeyPool |
This is a pool of keys to be used when new objects are created. |
|
|
TimerHandle_RemoveOutdatedObjects |
Handle for efficient management of RemoveOutdatedObjects timer |
Name | Description | |
---|---|---|
|
UAvoidanceManager ( |
Name | Description | ||
---|---|---|---|
|
AvoidanceDebugForAll ( |
||
|
AvoidanceDebugForUID |
||
|
AvoidanceSystemToggle ( |
||
|
const FNavAv... |
GetAvoidanceObjectForUID ( |
|
|
FNavAvoidanc... |
GetAvoidanceObjectForUID ( |
Get your latest data. |
|
GetAvoidanceVelocity ( |
Only use if you want manual velocity planning. |
|
|
GetAvoidanceVelocity_Internal ( |
This is called by our blueprint-accessible functions, and permits the user to ignore self, or not. |
|
|
GetAvoidanceVelocityForComponent ( |
Fast-track GetAvoidanceVelocityForComponent(UMovementComponent) implementation for most common case of UCharacterMovementComponent |
|
|
GetAvoidanceVelocityForComponent ( |
Calculate avoidance velocity for component (avoids collisions with the supplied component) |
|
|
GetAvoidanceVelocityIgnoringUID ( |
Only use if you want manual velocity planning. |
|
|
GetNewAvoidanceUID() |
Get appropriate UID for use when reporting to this function or requesting RVO assistance. |
|
|
GetObjectCount() |
Get the number of avoidance objects currently in the manager. |
|
|
HandleToggleAvoidance ( |
||
|
HandleToggleDebugAll ( |
Exec command handlers |
|
|
IsDebugEnabled ( |
||
|
IsDebugOnForAll() |
||
|
IsDebugOnForUID ( |
||
|
OverrideToMaxWeight ( |
For Duration seconds, set this object to ignore all others. |
|
|
RegisterMovementComponent ( |
Register with the given avoidance manager. |
|
|
RegisterMovementComponent ( |
||
|
RemoveAvoidanceObject ( |
Used to manually mark data associated with given ID as 'dead' (and reusable) |
|
|
RemoveOutdatedObjects() |
Cleanup AvoidanceObjects, called by timer |
|
|
RequestUpdateTimer() |
Try to set a timer for RemoveOutdatedObjects |
|
|
SetNavEdgeProvider ( |
||
|
UpdateRVO ( |
Update the RVO avoidance data for the participating UMovementComponent |
|
|
UpdateRVO ( |
Fast-track UpdateRVO(UMovementComponent) implementation for most common case of UCharacterMovementComponent |
|
|
UpdateRVO_Internal ( |
This is called by our blueprint-accessible function after it has packed the data into an object. |
Name | Description | ||
---|---|---|---|
|
Exec ( |
Exec handler |
Name |
Description |
---|---|
bSystemActive |
Master switch for avoidance system |
Name | Description | ||
---|---|---|---|
|
float |
TestHeightDifference_DEPRECATED |
Deprecated - use HeightCheckMargin, generally a much smaller value. |