Class NavMovementComponent
NavMovementComponent defines base functionality for MovementComponents that move any 'agent' that may be involved in AI pathfinding.
Inheritance
System.Object
NavMovementComponent
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 NavMovementComponent : MovementComponent
Properties
|
Improve this Doc
View Source
bUpdateNavAgentWithOwnersCollision
Declaration
public bool bUpdateNavAgentWithOwnersCollision { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bUseAccelerationForPaths
Declaration
public bool bUseAccelerationForPaths { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bUseFixedBrakingDistanceForPaths
Declaration
public bool bUseFixedBrakingDistanceForPaths { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static NavMovementComponent DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
FixedPathBrakingDistance
Braking distance override used with acceleration driven path following (bUseAccelerationForPaths)
Declaration
public float FixedPathBrakingDistance { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MovementState
Expresses runtime state of character's movement. Put all temporal changes to movement properties here
Declaration
public MovementProperties MovementState { get; set; }
Property Value
|
Improve this Doc
View Source
NavAgentProps
Properties that define how the component can move.
Declaration
public NavAgentProperties NavAgentProps { get; set; }
Property Value
|
Improve this Doc
View Source
PathFollowingComp
object implementing IPathFollowingAgentInterface.
Declaration
public UObject PathFollowingComp { get; set; }
Property Value
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
IsCrouching()
@return true if currently crouching
Declaration
public bool IsCrouching()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsFalling()
@return true if currently falling (not flying, in a non-fluid volume, and not on the ground)
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsFlying()
@return true if currently flying (moving through a non-fluid volume without resting on the ground)
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMovingOnGround()
@return true if currently moving on the ground (e.g. walking or driving)
Declaration
public bool IsMovingOnGround()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsSwimming()
@return true if currently swimming (moving through a fluid volume)
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static NavMovementComponent New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
StopActiveMovement()
Stops applying further movement (usually zeros acceleration).
Declaration
public void StopActiveMovement()
|
Improve this Doc
View Source
StopMovementKeepPathing()
Stops movement immediately (reset velocity) but keeps following current path
Declaration
public void StopMovementKeepPathing()
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to NavMovementComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator NavMovementComponent(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns