Class AvoidanceManager
Inheritance
System.Object
AvoidanceManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class AvoidanceManager : UObject
Properties
|
Improve this Doc
View Source
ArtificialRadiusExpansion
Multiply the radius of all STORED avoidance objects by this value to allow a little extra room for avoidance maneuvers.
Declaration
public float ArtificialRadiusExpansion { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static AvoidanceManager DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
DefaultTimeToLive
How long an avoidance UID must not be updated before the system will put it back in the pool. Actual delay is up to 150% of this value.
Declaration
public float DefaultTimeToLive { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
DeltaTimeToPredict
This is how far forward in time (seconds) we extend our velocity cones and thus our prediction
Declaration
public float DeltaTimeToPredict { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
HeightCheckMargin
Allowable height margin between obstacles and agents. This is over and above the difference in agent heights.
Declaration
public float HeightCheckMargin { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
LockTimeAfterAvoid
How long to stay on course (barring collision) after making an avoidance move
Declaration
public float LockTimeAfterAvoid { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
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)
Declaration
public float LockTimeAfterClean { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetAvoidanceVelocityForComponent(MovementComponent)
Calculate avoidance velocity for component (avoids collisions with the supplied component)
Declaration
public Vector GetAvoidanceVelocityForComponent(MovementComponent MovementComp)
Parameters
Returns
|
Improve this Doc
View Source
GetNewAvoidanceUID()
Get appropriate UID for use when reporting to this function or requesting RVO assistance.
Declaration
public int GetNewAvoidanceUID()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetObjectCount()
Get the number of avoidance objects currently in the manager.
Declaration
public int GetObjectCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static AvoidanceManager New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
RegisterMovementComponent(MovementComponent, Single)
Register with the given avoidance manager.
Declaration
public bool RegisterMovementComponent(MovementComponent MovementComp, float AvoidanceWeight)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to AvoidanceManager)
Convert from IntPtr to UObject
Declaration
public static implicit operator AvoidanceManager(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns