Class CharacterMovementComponent
CharacterMovementComponent handles movement logic for the associated Character owner.
Inheritance
System.Object
CharacterMovementComponent
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 CharacterMovementComponent : PawnMovementComponent
Properties
|
Improve this Doc
View Source
Acceleration
Current acceleration vector (with magnitude).
Declaration
public Vector Acceleration { get; set; }
Property Value
|
Improve this Doc
View Source
AirControl
When falling, amount of lateral movement control available to the character.
Declaration
public float AirControl { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
AirControlBoostMultiplier
When falling, multiplier applied to AirControl when lateral velocity is less than AirControlBoostVelocityThreshold.
Declaration
public float AirControlBoostMultiplier { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
AirControlBoostVelocityThreshold
When falling, if lateral velocity magnitude is less than this value, AirControl is multiplied by AirControlBoostMultiplier.
Declaration
public float AirControlBoostVelocityThreshold { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Modifier to applied to values such as acceleration and max speed due to analog input.
Declaration
public float AnalogInputModifier { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
AnimRootMotionVelocity
Velocity extracted from RootMotionParams when there is anim root motion active. Invalid to use when HasAnimRootMotion() returns false.
Declaration
public Vector AnimRootMotionVelocity { get; set; }
Property Value
|
Improve this Doc
View Source
AvoidanceConsiderationRadius
Avoidance Consideration Radius
Declaration
public float AvoidanceConsiderationRadius { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
AvoidanceGroup
Moving actor's group mask
Declaration
public NavAvoidanceMask AvoidanceGroup { get; }
Property Value
|
Improve this Doc
View Source
AvoidanceUID
No default value, for now it's assumed to be valid if GetAvoidanceManager() returns non-NULL.
Declaration
public int AvoidanceUID { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AvoidanceWeight
De facto default value 0.5 (due to that being the default in the avoidance registration function), indicates RVO behavior.
Declaration
public float AvoidanceWeight { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
bAllowPhysicsRotationDuringAnimRootMotion
Declaration
public bool bAllowPhysicsRotationDuringAnimRootMotion { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bAlwaysCheckFloor
Declaration
public bool bAlwaysCheckFloor { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bApplyGravityWhileJumping
Declaration
public bool bApplyGravityWhileJumping { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bCanWalkOffLedges
Declaration
public bool bCanWalkOffLedges { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bCanWalkOffLedgesWhenCrouching
Declaration
public bool bCanWalkOffLedgesWhenCrouching { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bCheatFlying
Declaration
public bool bCheatFlying { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bCrouchMaintainsBaseLocation
Declaration
public bool bCrouchMaintainsBaseLocation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bDeferUpdateMoveComponent
Declaration
public bool bDeferUpdateMoveComponent { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bEnablePhysicsInteraction
Declaration
public bool bEnablePhysicsInteraction { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bEnableScopedMovementUpdates
Declaration
public bool bEnableScopedMovementUpdates { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bFastAttachedMove
Declaration
public bool bFastAttachedMove { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bForceMaxAccel
Declaration
public bool bForceMaxAccel { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bForceNextFloorCheck
Declaration
public bool bForceNextFloorCheck { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bHasRequestedVelocity
Declaration
public bool bHasRequestedVelocity { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bIgnoreBaseRotation
Declaration
public bool bIgnoreBaseRotation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bIgnoreClientMovementErrorChecksAndCorrection
Declaration
public bool bIgnoreClientMovementErrorChecksAndCorrection { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bImpartBaseAngularVelocity
Declaration
public bool bImpartBaseAngularVelocity { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bImpartBaseVelocityX
Declaration
public bool bImpartBaseVelocityX { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bImpartBaseVelocityY
Declaration
public bool bImpartBaseVelocityY { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bImpartBaseVelocityZ
Declaration
public bool bImpartBaseVelocityZ { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bJustTeleported
Declaration
public bool bJustTeleported { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bMaintainHorizontalGroundVelocity
Declaration
public bool bMaintainHorizontalGroundVelocity { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bMovementInProgress
Declaration
public bool bMovementInProgress { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool bNetworkAlwaysReplicateTransformUpdateTimestamp { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bNetworkMovementModeChanged
Declaration
public bool bNetworkMovementModeChanged { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bNetworkSkipProxyPredictionOnNetUpdate
Declaration
public bool bNetworkSkipProxyPredictionOnNetUpdate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bNetworkUpdateReceived
Declaration
public bool bNetworkUpdateReceived { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bNotifyApex
Declaration
public bool bNotifyApex { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bOrientRotationToMovement
Declaration
public bool bOrientRotationToMovement { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool bPerformingJumpOff { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bProjectNavMeshOnBothWorldChannels
Declaration
public bool bProjectNavMeshOnBothWorldChannels { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bProjectNavMeshWalking
Declaration
public bool bProjectNavMeshWalking { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bPushForceScaledToMass
Declaration
public bool bPushForceScaledToMass { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bPushForceUsingZOffset
Declaration
public bool bPushForceUsingZOffset { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
BrakingDecelerationFalling
Lateral deceleration when falling and not applying acceleration.
Declaration
public float BrakingDecelerationFalling { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
BrakingDecelerationFlying
Deceleration when flying and not applying acceleration.
Declaration
public float BrakingDecelerationFlying { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
BrakingDecelerationSwimming
Deceleration when swimming and not applying acceleration.
Declaration
public float BrakingDecelerationSwimming { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
BrakingDecelerationWalking
Deceleration when walking and not applying acceleration.
Declaration
public float BrakingDecelerationWalking { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
BrakingFriction
Friction (drag) coefficient applied when braking (whenever Acceleration = 0, or if character is exceeding max speed); actual value used is this multiplied by BrakingFrictionFactor.
Declaration
public float BrakingFriction { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
BrakingFrictionFactor
Factor used to multiply actual value of friction used when braking.
Declaration
public float BrakingFrictionFactor { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
bRequestedMoveUseAcceleration
Declaration
public bool bRequestedMoveUseAcceleration { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bRequestedMoveWithMaxSpeed
Declaration
public bool bRequestedMoveWithMaxSpeed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bRunPhysicsWithNoController
Declaration
public bool bRunPhysicsWithNoController { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bScalePushForceToVelocity
Declaration
public bool bScalePushForceToVelocity { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bShrinkProxyCapsule
Declaration
public bool bShrinkProxyCapsule { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bSweepWhileNavWalking
Declaration
public bool bSweepWhileNavWalking { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bTouchForceScaledToMass
Declaration
public bool bTouchForceScaledToMass { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Buoyancy
Water buoyancy. A ratio (1.0 = neutral buoyancy, 0.0 = no buoyancy)
Declaration
public float Buoyancy { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
bUseControllerDesiredRotation
Declaration
public bool bUseControllerDesiredRotation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bUseFlatBaseForFloorChecks
Declaration
public bool bUseFlatBaseForFloorChecks { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bUseRVOAvoidance
Declaration
public bool bUseRVOAvoidance { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bUseSeparateBrakingFriction
Declaration
public bool bUseSeparateBrakingFriction { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bWantsToCrouch
Declaration
public bool bWantsToCrouch { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bWantsToLeaveNavWalking
Declaration
public bool bWantsToLeaveNavWalking { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bWasAvoidanceUpdated
Declaration
public bool bWasAvoidanceUpdated { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bWasSimulatingRootMotion
Declaration
public bool bWasSimulatingRootMotion { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CharacterOwner
Character movement component belongs to
Declaration
public Character CharacterOwner { get; set; }
Property Value
|
Improve this Doc
View Source
CrouchedHalfHeight
Collision half-height when crouching (component scale is applied separately)
Declaration
public float CrouchedHalfHeight { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CurrentFloor
Information about the floor the Character is standing on (updated only during walking movement).
Declaration
public FindFloorResult CurrentFloor { get; }
Property Value
|
Improve this Doc
View Source
CurrentRootMotion
Root Motion Group containing active root motion sources being applied to movement
Declaration
public RootMotionSourceGroup CurrentRootMotion { get; set; }
Property Value
|
Improve this Doc
View Source
CustomMovementMode
Current custom sub-mode if MovementMode is set to Custom.
Declaration
public byte CustomMovementMode { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
DefaultLandMovementMode
Default movement mode when not in water.
Declaration
public byte DefaultLandMovementMode { get; set; }
Property Value
Type |
Description |
System.Byte |
|
Remarks
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static CharacterMovementComponent DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
DefaultWaterMovementMode
Default movement mode when in water.
Declaration
public byte DefaultWaterMovementMode { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
DeferredUpdatedMoveComponent
What to update CharacterOwner and UpdatedComponent after movement ends
Declaration
public SceneComponent DeferredUpdatedMoveComponent { get; set; }
Property Value
|
Improve this Doc
View Source
FallingLateralFriction
Friction to apply to lateral air movement when falling.
Declaration
public float FallingLateralFriction { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GravityScale
Custom gravity scale. Gravity is multiplied by this amount for the character.
Declaration
public float GravityScale { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GroundFriction
Setting that affects movement control.
Declaration
public float GroundFriction { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GroundMovementMode
Ground movement mode to switch to after falling and resuming ground movement.
Declaration
public byte GroundMovementMode { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GroupsToAvoid
Will avoid other agents if they are in one of specified groups
Declaration
public NavAvoidanceMask GroupsToAvoid { get; }
Property Value
|
Improve this Doc
View Source
GroupsToIgnore
Will NOT avoid other agents if they are in one of specified groups, higher priority than GroupsToAvoid
Declaration
public NavAvoidanceMask GroupsToIgnore { get; }
Property Value
|
Improve this Doc
View Source
InitialPushForceFactor
Initial impulse force to apply when the player bounces into a blocking physics object.
Declaration
public float InitialPushForceFactor { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
JumpOffJumpZFactor
Fraction of JumpZVelocity to use when automatically "jumping off" of a base actor that's not allowed to be a base for a character. (For example, if you're not allowed to stand on other players.)
Declaration
public float JumpOffJumpZFactor { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
JumpOutOfWaterPitch
When exiting water, jump if control pitch angle is this high or above.
Declaration
public float JumpOutOfWaterPitch { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
JumpZVelocity
Initial velocity (instantaneous vertical acceleration) when jumping.
Declaration
public float JumpZVelocity { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
LastUpdateLocation
Location after last PerformMovement or SimulateMovement update. Used internally to detect changes in position from outside character movement to try to validate the current floor.
Declaration
public Vector LastUpdateLocation { get; set; }
Property Value
|
Improve this Doc
View Source
LastUpdateRotation
Rotation after last PerformMovement or SimulateMovement update.
Declaration
public Quat LastUpdateRotation { get; set; }
Property Value
|
Improve this Doc
View Source
LastUpdateVelocity
Velocity after last PerformMovement or SimulateMovement update. Used internally to detect changes in velocity from external sources.
Declaration
public Vector LastUpdateVelocity { get; set; }
Property Value
|
Improve this Doc
View Source
LedgeCheckThreshold
Used in determining if pawn is going off ledge. If the ledge is "shorter" than this value then the pawn will be able to walk off it. *
Declaration
public float LedgeCheckThreshold { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ListenServerNetworkSimulatedSmoothLocationTime
Similar setting as NetworkSimulatedSmoothLocationTime but only used on Listen servers.
Declaration
public float ListenServerNetworkSimulatedSmoothLocationTime { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ListenServerNetworkSimulatedSmoothRotationTime
Similar setting as NetworkSimulatedSmoothRotationTime but only used on Listen servers.
Declaration
public float ListenServerNetworkSimulatedSmoothRotationTime { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Mass
Mass of pawn (for when momentum is imparted to it).
Declaration
public float Mass { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxAcceleration
Max Acceleration (rate of change of velocity)
Declaration
public float MaxAcceleration { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxCustomMovementSpeed
The maximum speed when using Custom movement mode.
Declaration
public float MaxCustomMovementSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxDepenetrationWithGeometry
Max distance we allow simulated proxies to depenetrate when moving out of anything but Pawns.
Declaration
public float MaxDepenetrationWithGeometry { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxDepenetrationWithGeometryAsProxy
Max distance we allow simulated proxies to depenetrate when moving out of anything but Pawns.
Declaration
public float MaxDepenetrationWithGeometryAsProxy { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxDepenetrationWithPawn
Max distance we are allowed to depenetrate when moving out of other Pawns.
Declaration
public float MaxDepenetrationWithPawn { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxDepenetrationWithPawnAsProxy
Max distance we allow simulated proxies to depenetrate when moving out of other Pawns.
Declaration
public float MaxDepenetrationWithPawnAsProxy { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxFlySpeed
The maximum flying speed.
Declaration
public float MaxFlySpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxOutOfWaterStepHeight
Maximum step height for getting out of water
Declaration
public float MaxOutOfWaterStepHeight { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxSimulationIterations
Max number of iterations used for each discrete simulation step.
Declaration
public int MaxSimulationIterations { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MaxSimulationTimeStep
Max time delta for each discrete simulation step.
Declaration
public float MaxSimulationTimeStep { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxStepHeight
Maximum height character can step up
Declaration
public float MaxStepHeight { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxSwimSpeed
The maximum swimming speed.
Declaration
public float MaxSwimSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxTouchForce
Declaration
public float MaxTouchForce { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxWalkSpeed
The maximum ground speed when walking. Also determines maximum lateral speed when falling.
Declaration
public float MaxWalkSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxWalkSpeedCrouched
The maximum ground speed when walking and crouched.
Declaration
public float MaxWalkSpeedCrouched { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MinAnalogWalkSpeed
The ground speed that we should accelerate up to when walking at minimum analog stick tilt
Declaration
public float MinAnalogWalkSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MinTimeBetweenTimeStampResets
Minimum time between client TimeStamp resets.
Declaration
public float MinTimeBetweenTimeStampResets { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MinTouchForce
Declaration
public float MinTouchForce { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MovementMode
Actor's current movement mode (walking, falling, etc).
Declaration
public byte MovementMode { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
NavMeshProjectionHeightScaleDown
Scale of the total capsule height to use for projection from navmesh to underlying geometry in the downward direction.
Declaration
public float NavMeshProjectionHeightScaleDown { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NavMeshProjectionHeightScaleUp
Scale of the total capsule height to use for projection from navmesh to underlying geometry in the upward direction.
Declaration
public float NavMeshProjectionHeightScaleUp { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NavMeshProjectionInterpSpeed
Speed at which to interpolate agent navmesh offset between traces. 0: Instant (no interp) > 0: Interp speed")
Declaration
public float NavMeshProjectionInterpSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NavMeshProjectionInterval
How often we should raycast to project from navmesh to underlying geometry
Declaration
public float NavMeshProjectionInterval { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NavMeshProjectionTimer
Nav Mesh Projection Timer
Declaration
public float NavMeshProjectionTimer { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NavWalkingFloorDistTolerance
Ignore small differences in ground height between server and client data during NavWalking mode
Declaration
public float NavWalkingFloorDistTolerance { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetProxyShrinkHalfHeight
Shrink simulated proxy capsule half height by this amount, to account for network rounding that may cause encroachment.
Declaration
public float NetProxyShrinkHalfHeight { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetProxyShrinkRadius
Shrink simulated proxy capsule radius by this amount, to account for network rounding that may cause encroachment.
Declaration
public float NetProxyShrinkRadius { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetworkLargeClientCorrectionDistance
If client error is larger than this, sets bNetworkLargeClientCorrection to reduce delay between client adjustments.
Declaration
public float NetworkLargeClientCorrectionDistance { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetworkMaxSmoothUpdateDistance
Maximum distance character is allowed to lag behind server location when interpolating between updates.
Declaration
public float NetworkMaxSmoothUpdateDistance { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetworkMinTimeBetweenClientAckGoodMoves
Minimum time on the server between acknowledging good client moves. This can save on bandwidth. Set to 0 to disable throttling.
Declaration
public float NetworkMinTimeBetweenClientAckGoodMoves { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetworkMinTimeBetweenClientAdjustments
Minimum time on the server between sending client adjustments when client has exceeded allowable position error.
Declaration
public float NetworkMinTimeBetweenClientAdjustments { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetworkMinTimeBetweenClientAdjustmentsLargeCorrection
Declaration
public float NetworkMinTimeBetweenClientAdjustmentsLargeCorrection { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetworkNoSmoothUpdateDistance
Maximum distance beyond which character is teleported to the new server location without any smoothing.
Declaration
public float NetworkNoSmoothUpdateDistance { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetworkSimulatedSmoothLocationTime
How long to take to smoothly interpolate from the old pawn position on the client to the corrected one sent by the server. Not used by Linear smoothing.
Declaration
public float NetworkSimulatedSmoothLocationTime { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NetworkSimulatedSmoothRotationTime
How long to take to smoothly interpolate from the old pawn rotation on the client to the corrected one sent by the server. Not used by Linear smoothing.
Declaration
public float NetworkSimulatedSmoothRotationTime { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
OutofWaterZ
Z velocity applied when pawn tries to get out of water
Declaration
public float OutofWaterZ { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PendingForceToApply
Accumulated force to be added next tick.
Declaration
public Vector PendingForceToApply { get; set; }
Property Value
|
Improve this Doc
View Source
PendingImpulseToApply
Accumulated impulse to be added next tick.
Declaration
public Vector PendingImpulseToApply { get; set; }
Property Value
|
Improve this Doc
View Source
PendingLaunchVelocity
Temporarily holds launch velocity when pawn is to be launched so it happens at end of movement.
Declaration
public Vector PendingLaunchVelocity { get; set; }
Property Value
|
Improve this Doc
View Source
PerchAdditionalHeight
When perching on a ledge, add this additional distance to MaxStepHeight when determining how high above a walkable floor we can perch.
Declaration
public float PerchAdditionalHeight { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PerchRadiusThreshold
Don't allow the character to perch on the edge of a surface if the contact is this close to the edge of the capsule.
Declaration
public float PerchRadiusThreshold { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PostPhysicsTickFunction
Post-physics tick function for this character
Declaration
public CharacterMovementComponentPostPhysicsTickFunction PostPhysicsTickFunction { get; set; }
Property Value
|
Improve this Doc
View Source
PushForceFactor
Force to apply when the player collides with a blocking physics object.
Declaration
public float PushForceFactor { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PushForcePointZOffsetFactor
Z-Offset for the position the force is applied to. 0.0f is the center of the physics object, 1.0f is the top and -1.0f is the bottom of the object.
Declaration
public float PushForcePointZOffsetFactor { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
RepulsionForce
Force per kg applied constantly to all overlapping components.
Declaration
public float RepulsionForce { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
RequestedVelocity
Velocity requested by path following.
Declaration
public Vector RequestedVelocity { get; set; }
Property Value
|
Improve this Doc
View Source
RootMotionParams
Root Motion movement params.
Declaration
public RootMotionMovementParams RootMotionParams { get; set; }
Property Value
|
Improve this Doc
View Source
RotationRate
Change in rotation per second, used when UseControllerDesiredRotation or OrientRotationToMovement are true. Set a negative value for infinite rotation rate and instant turns.
Declaration
public Rotator RotationRate { get; set; }
Property Value
|
Improve this Doc
View Source
ServerLastClientAdjustmentTime
Timestamp of last client adjustment sent. See NetworkMinTimeBetweenClientAdjustments.
Declaration
public float ServerLastClientAdjustmentTime { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ServerLastClientGoodMoveAckTime
Timestamp of last client adjustment sent. See NetworkMinTimeBetweenClientAdjustments.
Declaration
public float ServerLastClientGoodMoveAckTime { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Timestamp when location or rotation last changed during an update. Only valid on the server.
Declaration
public float ServerLastTransformUpdateTimeStamp { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
StandingDownwardForceScale
Force applied to objects we stand on (due to Mass and Gravity) is scaled by this amount.
Declaration
public float StandingDownwardForceScale { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
|
Improve this Doc
View Source
TouchForceFactor
Force to apply to physics objects that are touched by the player.
Declaration
public float TouchForceFactor { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
WalkableFloorAngle
Max angle in degrees of a walkable surface. Any greater than this and it is too steep to be walkable.
Declaration
public float WalkableFloorAngle { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
WalkableFloorZ
Minimum Z value for floor normal. If less, not a walkable surface. Computed from WalkableFloorAngle.
Declaration
public float WalkableFloorZ { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
AddForce(Vector)
Declaration
public void AddForce(Vector Force)
Parameters
Type |
Name |
Description |
Vector |
Force |
|
|
Improve this Doc
View Source
AddImpulse(Vector, Boolean)
Add impulse to character.
Declaration
public void AddImpulse(Vector Impulse, bool bVelocityChange)
Parameters
Type |
Name |
Description |
Vector |
Impulse |
|
System.Boolean |
bVelocityChange |
|
|
Improve this Doc
View Source
CalcVelocity(Single, Single, Boolean, Single)
Updates Velocity and Acceleration based on the current state, applying the effects of friction and acceleration or deceleration.
Declaration
public void CalcVelocity(float DeltaTime, float Friction, bool bFluid, float BrakingDeceleration)
Parameters
Type |
Name |
Description |
System.Single |
DeltaTime |
|
System.Single |
Friction |
|
System.Boolean |
bFluid |
|
System.Single |
BrakingDeceleration |
|
|
Improve this Doc
View Source
ClearAccumulatedForces()
Clears forces accumulated through AddImpulse() and AddForce(), and also pending launch velocity.
Declaration
public void ClearAccumulatedForces()
|
Improve this Doc
View Source
DisableMovement()
Make movement impossible (sets movement mode to MOVE_None).
Declaration
public void DisableMovement()
|
Improve this Doc
View Source
@return Modifier [0..1] based on the magnitude of the last input vector, which is used to modify the acceleration and max speed during movement.
Declaration
public float GetAnalogInputModifier()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetCharacterOwner()
Get the Character that owns UpdatedComponent.
Declaration
public Character GetCharacterOwner()
Returns
|
Improve this Doc
View Source
GetCurrentAcceleration()
@return Current acceleration, computed from input vector each update.
Declaration
public Vector GetCurrentAcceleration()
Returns
|
Improve this Doc
View Source
GetImpartedMovementBaseVelocity()
If we have a movement base, get the velocity that should be imparted by that base, usually when jumping off of it.
Declaration
public Vector GetImpartedMovementBaseVelocity()
Returns
|
Improve this Doc
View Source
GetLastUpdateLocation()
Returns the location at the end of the last tick.
Declaration
public Vector GetLastUpdateLocation()
Returns
|
Improve this Doc
View Source
GetLastUpdateRotation()
Returns the rotation at the end of the last tick.
Declaration
public Rotator GetLastUpdateRotation()
Returns
|
Improve this Doc
View Source
GetLastUpdateVelocity()
Returns the velocity at the end of the last tick.
Declaration
public Vector GetLastUpdateVelocity()
Returns
|
Improve this Doc
View Source
GetMaxAcceleration()
@return Maximum acceleration for the current state.
Declaration
public float GetMaxAcceleration()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetMaxBrakingDeceleration()
@return Maximum deceleration for the current state when braking (ie when there is no acceleration).
Declaration
public float GetMaxBrakingDeceleration()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetMaxJumpHeight()
Compute the max jump height based on the JumpZVelocity velocity and gravity.
Declaration
public float GetMaxJumpHeight()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetMaxJumpHeightWithJumpTime()
Compute the max jump height based on the JumpZVelocity velocity and gravity.
Declaration
public float GetMaxJumpHeightWithJumpTime()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetMinAnalogSpeed()
@return Maximum acceleration for the current state.
Declaration
public float GetMinAnalogSpeed()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetMovementBase()
Return PrimitiveComponent we are based on (standing and walking on).
Declaration
public PrimitiveComponent GetMovementBase()
Returns
|
Improve this Doc
View Source
GetPerchRadiusThreshold()
@return The distance from the edge of the capsule within which we don't allow the character to perch on the edge of a surface.
Declaration
public float GetPerchRadiusThreshold()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetValidPerchRadius()
Returns the radius within which we can stand on the edge of a surface without falling (if this is a walkable surface).
Declaration
public float GetValidPerchRadius()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
IsWalkable(HitResult)
Return true if the hit result should be considered a walkable surface for the character.
Declaration
public bool IsWalkable(HitResult Hit)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWalking()
@return true if the character is in the 'Walking' movement mode.
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
K2_ComputeFloorDist(Vector, Single, Single, Single)
Declaration
public FindFloorResult K2_ComputeFloorDist(Vector CapsuleLocation, float LineDistance, float SweepDistance, float SweepRadius)
Parameters
Type |
Name |
Description |
Vector |
CapsuleLocation |
|
System.Single |
LineDistance |
|
System.Single |
SweepDistance |
|
System.Single |
SweepRadius |
|
Returns
|
Improve this Doc
View Source
K2_FindFloor(Vector)
Sweeps a vertical trace to find the floor for the capsule at the given location.
Declaration
public FindFloorResult K2_FindFloor(Vector CapsuleLocation)
Parameters
Type |
Name |
Description |
Vector |
CapsuleLocation |
|
Returns
|
Improve this Doc
View Source
K2_GetModifiedMaxAcceleration()
@return Maximum acceleration for the current state, based on MaxAcceleration and any additional modifiers.
Declaration
public float K2_GetModifiedMaxAcceleration()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
K2_GetWalkableFloorAngle()
Get the max angle in degrees of a walkable surface for the character.
Declaration
public float K2_GetWalkableFloorAngle()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
K2_GetWalkableFloorZ()
Get the Z component of the normal of the steepest walkable surface for the character. Any lower than this and it is not walkable.
Declaration
public float K2_GetWalkableFloorZ()
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static CharacterMovementComponent New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
SetAvoidanceEnabled(Boolean)
Change avoidance state and registers in RVO manager if needed
Declaration
public void SetAvoidanceEnabled(bool bEnable)
Parameters
Type |
Name |
Description |
System.Boolean |
bEnable |
|
|
Improve this Doc
View Source
SetAvoidanceGroup(Int32)
Declaration
public void SetAvoidanceGroup(int GroupFlags)
Parameters
Type |
Name |
Description |
System.Int32 |
GroupFlags |
|
|
Improve this Doc
View Source
SetAvoidanceGroupMask(NavAvoidanceMask)
Declaration
public void SetAvoidanceGroupMask(NavAvoidanceMask GroupMask)
Parameters
|
Improve this Doc
View Source
SetGroupsToAvoid(Int32)
Declaration
public void SetGroupsToAvoid(int GroupFlags)
Parameters
Type |
Name |
Description |
System.Int32 |
GroupFlags |
|
|
Improve this Doc
View Source
SetGroupsToAvoidMask(NavAvoidanceMask)
Declaration
public void SetGroupsToAvoidMask(NavAvoidanceMask GroupMask)
Parameters
|
Improve this Doc
View Source
SetGroupsToIgnore(Int32)
Declaration
public void SetGroupsToIgnore(int GroupFlags)
Parameters
Type |
Name |
Description |
System.Int32 |
GroupFlags |
|
|
Improve this Doc
View Source
SetGroupsToIgnoreMask(NavAvoidanceMask)
Set Groups to Ignore Mask
Declaration
public void SetGroupsToIgnoreMask(NavAvoidanceMask GroupMask)
Parameters
|
Improve this Doc
View Source
SetMovementMode(Byte, Byte)
Declaration
public void SetMovementMode(byte NewMovementMode, byte NewCustomMode)
Parameters
Type |
Name |
Description |
System.Byte |
NewMovementMode |
|
System.Byte |
NewCustomMode |
|
|
Improve this Doc
View Source
SetWalkableFloorAngle(Single)
Set the max angle in degrees of a walkable surface for the character. Also computes WalkableFloorZ.
Declaration
public void SetWalkableFloorAngle(float InWalkableFloorAngle)
Parameters
Type |
Name |
Description |
System.Single |
InWalkableFloorAngle |
|
|
Improve this Doc
View Source
SetWalkableFloorZ(Single)
Set the Z component of the normal of the steepest walkable surface for the character. Also computes WalkableFloorAngle.
Declaration
public void SetWalkableFloorZ(float InWalkableFloorZ)
Parameters
Type |
Name |
Description |
System.Single |
InWalkableFloorZ |
|
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to CharacterMovementComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator CharacterMovementComponent(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns