예제 #1
0
 ///<summary>Register with the given avoidance manager.</summary>
 ///<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.
 ///</remarks>
 public bool RegisterMovementComponent(MovementComponent MovementComp, float AvoidanceWeight) =>
 AvoidanceManager_methods.RegisterMovementComponent_method.Invoke(ObjPointer, MovementComp, AvoidanceWeight);
예제 #2
0
 ///<summary>Calculate avoidance velocity for component (avoids collisions with the supplied component)</summary>
 public Vector GetAvoidanceVelocityForComponent(MovementComponent MovementComp) =>
 AvoidanceManager_methods.GetAvoidanceVelocityForComponent_method.Invoke(ObjPointer, MovementComp);