Show / Hide Table of Contents

Class AvoidanceManager

Avoidance Manager

Inheritance
System.Object
UObject
AvoidanceManager
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
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)
Namespace: UE4.Engine
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
Type Description
AvoidanceManager
| 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

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

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
Type Name Description
MovementComponent MovementComp
Returns
Type Description
Vector
| 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
Type Name Description
UObject obj
Name name
Returns
Type Description
AvoidanceManager
| Improve this Doc View Source

RegisterMovementComponent(MovementComponent, Single)

Register with the given avoidance manager.

Declaration
public bool RegisterMovementComponent(MovementComponent MovementComp, float AvoidanceWeight)
Parameters
Type Name Description
MovementComponent MovementComp
System.Single AvoidanceWeight
Returns
Type Description
System.Boolean
Remarks

@param AvoidanceWeight When avoiding each other, actors divert course in proportion to their relative weights. Range is 0.0 to 1.0. Special: at 1.0, actor will not divert course at all.

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
Type Description
AvoidanceManager
  • Improve this Doc
  • View Source
Back to top Generated by DocFX