RealDocs

UCharacterMovementComponent

class Engine Blueprint Since 4.0
#include "GameFramework/CharacterMovementComponent.h"

Description

The movement component used by ACharacter. Handles walking, falling, swimming, flying, crouching, and jumping, with built-in network prediction support.

Caveats & Gotchas

  • Access it via ACharacter::GetCharacterMovement() — do not add it manually, ACharacter creates one automatically.
  • All movement parameters (MaxWalkSpeed, JumpZVelocity, etc.) are replicated-friendly but must be set on the server or using RPC patterns for authoritative movement.
  • Custom movement modes can be added by overriding PhysCustom() — but this requires understanding the movement simulation loop.

Example

Modify walk speed at runtime C++
GetCharacterMovement()->MaxWalkSpeed = 600.f;

Functions (148)

Lifecycle
5
Access Type Name
public function UCharacterMovementComponent::BeginPlay
public function UCharacterMovementComponent::TickComponent
public function UCharacterMovementComponent::RegisterComponentTickFunctions
public function UCharacterMovementComponent::PostPhysicsTickComponent
public function UCharacterMovementComponent::PrePhysicsTickComponent
Networking
52
Access Type Name
public function UCharacterMovementComponent::ApplyNetworkMovementMode
public function UCharacterMovementComponent::ClientAckGoodMove deprecated
public function UCharacterMovementComponent::ClientAckGoodMove_Implementation
public function UCharacterMovementComponent::ClientAdjustPosition deprecated
public function UCharacterMovementComponent::ClientAdjustPosition_Implementation
public function UCharacterMovementComponent::ClientAdjustRootMotionPosition deprecated
public function UCharacterMovementComponent::ClientAdjustRootMotionSourcePosition deprecated
public function UCharacterMovementComponent::ClientHandleMoveResponse
public function UCharacterMovementComponent::ClientVeryShortAdjustPosition deprecated
public function UCharacterMovementComponent::ClientVeryShortAdjustPosition_Implementation
public function UCharacterMovementComponent::ConvertRootMotionServerIDsToLocalIDs
function DEPRECATED_CHARACTER_MOVEMENT_RPC
public function UCharacterMovementComponent::FlushServerMoves
public function UCharacterMovementComponent::ForceClientAdjustment
public function UCharacterMovementComponent::ForceReplicationUpdate
public function UCharacterMovementComponent::GetLastServerMovementBase
public function UCharacterMovementComponent::GetPredictionData_Client
public function UCharacterMovementComponent::GetPredictionData_Client_Character
public function UCharacterMovementComponent::GetPredictionData_Server
public function UCharacterMovementComponent::GetPredictionData_Server_Character
public function UCharacterMovementComponent::GetServerLastTransformUpdateTimeStamp
public function UCharacterMovementComponent::HasPredictionData_Client
public function UCharacterMovementComponent::HasPredictionData_Server
public function UCharacterMovementComponent::MoveResponsePacked_ClientReceive
public function UCharacterMovementComponent::MoveResponsePacked_ServerSend
public function UCharacterMovementComponent::PackNetworkMovementMode
public function UCharacterMovementComponent::PackYawAndPitchTo32
public function UCharacterMovementComponent::ResetPredictionData_Client
public function UCharacterMovementComponent::ResetPredictionData_Server
public function UCharacterMovementComponent::SendClientAdjustment
public function UCharacterMovementComponent::ServerMove deprecated
public function UCharacterMovementComponent::ServerMove_HandleMoveData
public function UCharacterMovementComponent::ServerMove_Implementation deprecated
public function UCharacterMovementComponent::ServerMove_PerformMovement
public function UCharacterMovementComponent::ServerMove_Validate deprecated
public function UCharacterMovementComponent::ServerMoveDual deprecated
public function UCharacterMovementComponent::ServerMoveDual_Implementation deprecated
public function UCharacterMovementComponent::ServerMoveDual_Validate deprecated
public function UCharacterMovementComponent::ServerMoveDualHybridRootMotion deprecated
public function UCharacterMovementComponent::ServerMoveDualHybridRootMotion_Implementation deprecated
public function UCharacterMovementComponent::ServerMoveDualHybridRootMotion_Validate deprecated
public function UCharacterMovementComponent::ServerMoveOld deprecated
public function UCharacterMovementComponent::ServerMoveOld_Implementation deprecated
public function UCharacterMovementComponent::ServerMoveOld_Validate
public function UCharacterMovementComponent::ServerMovePacked_ClientSend
public function UCharacterMovementComponent::ServerMovePacked_ServerReceive
public function UCharacterMovementComponent::ServerSendMoveResponse
public function UCharacterMovementComponent::ShouldCorrectRotation
public function UCharacterMovementComponent::ShouldUsePackedMovementRPCs
public function UCharacterMovementComponent::SmoothCorrection
public function UCharacterMovementComponent::UnpackNetworkMovementMode
public function UCharacterMovementComponent::VerifyClientTimeStamp
Navigation
7
Access Type Name
public function UCharacterMovementComponent::GetActorFeetLocation
public function UCharacterMovementComponent::CanStartPathFollowing
public function UCharacterMovementComponent::CanStopPathFollowing
public function UCharacterMovementComponent::FindNavFloor
public function UCharacterMovementComponent::GetPathFollowingBrakingDistance
public function UCharacterMovementComponent::PerformAirControlForPathFollowing
public function UCharacterMovementComponent::ShouldPerformAirControlForPathFollowing
Utility
4
Access Type Name
public function UCharacterMovementComponent::IsFalling
public function UCharacterMovementComponent::Launch
public function UCharacterMovementComponent::AddReferencedObjects
public function UCharacterMovementComponent::GetGravitySpaceComponentZ
Avoidance
7
Access Type Name
public function UCharacterMovementComponent::SetAvoidanceEnabled
public function UCharacterMovementComponent::SetAvoidanceGroup deprecated
public function UCharacterMovementComponent::SetAvoidanceGroupMask
public function UCharacterMovementComponent::SetGroupsToAvoid deprecated
public function UCharacterMovementComponent::SetGroupsToAvoidMask
public function UCharacterMovementComponent::SetGroupsToIgnore deprecated
public function UCharacterMovementComponent::SetGroupsToIgnoreMask
Character Movement: Jumping / Falling
3
Access Type Name
public function UCharacterMovementComponent::GetMaxJumpHeight
public function UCharacterMovementComponent::GetMaxJumpHeightWithJumpTime
public function UCharacterMovementComponent::CheckFall
CharacterMovement
13
Access Type Name
public function UCharacterMovementComponent::GetCharacterOwner
public function UCharacterMovementComponent::AddImpulse
public function UCharacterMovementComponent::GetGravityDirection
public function UCharacterMovementComponent::GetGravityToWorldTransform
public function UCharacterMovementComponent::GetLastUpdateLocation
public function UCharacterMovementComponent::GetLastUpdateRotation
public function UCharacterMovementComponent::GetLastUpdateVelocity
public function UCharacterMovementComponent::GetWorldToGravityTransform
public function UCharacterMovementComponent::HasCustomGravity
public function UCharacterMovementComponent::SetMovementMode
public function UCharacterMovementComponent::CalcVelocity
public function UCharacterMovementComponent::GetLastUpdateRequestedVelocity
public function UCharacterMovementComponent::SetGravityDirection
Movement
23
Access Type Name
public function UCharacterMovementComponent::DisableMovement
public function UCharacterMovementComponent::GetCurrentAcceleration
public function UCharacterMovementComponent::IsMovingOnGround
public function UCharacterMovementComponent::Crouch
public function UCharacterMovementComponent::GetGroundMovementMode
public function UCharacterMovementComponent::GetLastUpdateQuat
public function UCharacterMovementComponent::GetMaxAcceleration
public function UCharacterMovementComponent::GetMaxBrakingDeceleration
public function UCharacterMovementComponent::GetMovementBase
public function UCharacterMovementComponent::SetGroundMovementMode
public function UCharacterMovementComponent::UnCrouch
public function UCharacterMovementComponent::GetAnalogInputModifier
public function UCharacterMovementComponent::GetImpartedMovementBaseVelocity
public function UCharacterMovementComponent::GetMinAnalogSpeed
public function UCharacterMovementComponent::GetSimulationTimeStep
public function UCharacterMovementComponent::MaybeSaveBaseLocation
public function UCharacterMovementComponent::PhysicsVolumeChanged
public function UCharacterMovementComponent::RevertMove
public function UCharacterMovementComponent::SaveBaseLocation
public function UCharacterMovementComponent::SetBase
public function UCharacterMovementComponent::SetUpdatedComponent
public function UCharacterMovementComponent — UE_DEPRECATED_FORGAME annotations deprecated
public function UCharacterMovementComponent::UpdateBasedRotation
Physics Interaction
2
Access Type Name
public function UCharacterMovementComponent::AddForce
public function UCharacterMovementComponent::ClearAccumulatedForces
RootMotion
4
Access Type Name
public function UCharacterMovementComponent::ClientAdjustRootMotionPosition_Implementation
public function UCharacterMovementComponent::ClientAdjustRootMotionSourcePosition_Implementation
public function UCharacterMovementComponent::ConvertLocalRootMotionToWorld
public function UCharacterMovementComponent::SimulateRootMotion
Rotation
3
Access Type Name
public function UCharacterMovementComponent::ComputeOrientToMovementRotation
public function UCharacterMovementComponent::GetDeltaRotation
public function UCharacterMovementComponent::PhysicsRotation
Swimming
2
Access Type Name
public function UCharacterMovementComponent::StartSwimming
public function UCharacterMovementComponent::Swim
Walking
23
Access Type Name
public function UCharacterMovementComponent::IsWalking
public function UCharacterMovementComponent::K2_GetWalkableFloorAngle
public function UCharacterMovementComponent::SetWalkableFloorAngle
public function UCharacterMovementComponent::IsWalkable
public function UCharacterMovementComponent::K2_FindFloor
public function UCharacterMovementComponent::K2_GetWalkableFloorZ
public function UCharacterMovementComponent::SetWalkableFloorZ
public function UCharacterMovementComponent::CanStepUp
public function UCharacterMovementComponent::CheckLedgeDirection
public function UCharacterMovementComponent::ComputeFloorDist
public function UCharacterMovementComponent::ComputePerchResult
public function UCharacterMovementComponent::FindFloor
public function UCharacterMovementComponent::FloorSweepTest
public function UCharacterMovementComponent::GetLedgeMove
public function UCharacterMovementComponent::GetPerchRadiusThreshold
public function UCharacterMovementComponent::GetValidPerchRadius
public function UCharacterMovementComponent::HandleWalkingOffLedge
public function UCharacterMovementComponent::IsValidLandingSpot
public function UCharacterMovementComponent::IsWithinEdgeTolerance
public function UCharacterMovementComponent::K2_ComputeFloorDist
public function UCharacterMovementComponent::ShouldCheckForValidLandingSpot
public function UCharacterMovementComponent::ShouldComputePerchResult
public function UCharacterMovementComponent::StepUp

Properties

Access Type Name
public property UCharacterMovementComponent::AirControl
public property UCharacterMovementComponent::AirControlBoostMultiplier
public property UCharacterMovementComponent::AirControlBoostVelocityThreshold
public property UCharacterMovementComponent::AvoidanceConsiderationRadius
public property UCharacterMovementComponent::AvoidanceGroup
public property UCharacterMovementComponent::AvoidanceUID
public property UCharacterMovementComponent::AvoidanceWeight
public property UCharacterMovementComponent::BrakingDecelerationFalling
public property UCharacterMovementComponent::BrakingDecelerationFlying
public property UCharacterMovementComponent::BrakingDecelerationSwimming
public property UCharacterMovementComponent::BrakingDecelerationWalking
public property UCharacterMovementComponent::BrakingFriction
public property UCharacterMovementComponent::BrakingFrictionFactor
public property UCharacterMovementComponent::BrakingSubStepTime
public property UCharacterMovementComponent::Buoyancy
public property UCharacterMovementComponent::CrouchedHalfHeight deprecated
public property UCharacterMovementComponent::CurrentFloor
public property UCharacterMovementComponent::CustomMovementMode
public property UCharacterMovementComponent::DefaultLandMovementMode
public property UCharacterMovementComponent::DefaultWaterMovementMode
public property UCharacterMovementComponent::DeferredUpdatedMoveComponent
public property UCharacterMovementComponent::FallingLateralFriction
public property UCharacterMovementComponent::FormerBaseVelocityDecayHalfLife
public property UCharacterMovementComponent::GravityScale
public property UCharacterMovementComponent::GroundFriction
public property UCharacterMovementComponent::GroupsToAvoid
public property UCharacterMovementComponent::GroupsToIgnore
public property UCharacterMovementComponent::InitialPushForceFactor
public property UCharacterMovementComponent::JumpOffJumpZFactor
public property UCharacterMovementComponent::JumpOutOfWaterPitch
public property UCharacterMovementComponent::JumpZVelocity
public property UCharacterMovementComponent::LastUpdateRequestedVelocity
public property UCharacterMovementComponent::LedgeCheckThreshold
public property UCharacterMovementComponent::ListenServerNetworkSimulatedSmoothLocationTime
public property UCharacterMovementComponent::ListenServerNetworkSimulatedSmoothRotationTime
public property UCharacterMovementComponent::Mass
public property UCharacterMovementComponent::MaxAcceleration
public property UCharacterMovementComponent::MaxCustomMovementSpeed
public property UCharacterMovementComponent::MaxDepenetrationWithGeometry
public property UCharacterMovementComponent::MaxDepenetrationWithGeometryAsProxy
public property UCharacterMovementComponent::MaxDepenetrationWithPawn
public property UCharacterMovementComponent::MaxDepenetrationWithPawnAsProxy
public property UCharacterMovementComponent::MaxFlySpeed
public property UCharacterMovementComponent::MaxJumpApexAttemptsPerSimulation
public property UCharacterMovementComponent::MaxOutOfWaterStepHeight
public property UCharacterMovementComponent::MaxSimulationIterations
public property UCharacterMovementComponent::MaxSimulationTimeStep
public property UCharacterMovementComponent::MaxStepHeight
public property UCharacterMovementComponent::MaxSwimSpeed
public property UCharacterMovementComponent::MaxTouchForce
public property UCharacterMovementComponent::MaxWalkSpeed
public property UCharacterMovementComponent::MaxWalkSpeedCrouched
public property UCharacterMovementComponent::MinAnalogWalkSpeed
public property UCharacterMovementComponent::MinTouchForce
public property UCharacterMovementComponent::MovementMode
public property UCharacterMovementComponent::NavMeshProjectionHeightScaleDown
public property UCharacterMovementComponent::NavMeshProjectionHeightScaleUp
public property UCharacterMovementComponent::NavMeshProjectionInterpSpeed
public property UCharacterMovementComponent::NavMeshProjectionInterval
public property UCharacterMovementComponent::NavMeshProjectionTimer
public property UCharacterMovementComponent::NavWalkingFloorDistTolerance
public property UCharacterMovementComponent::NetProxyShrinkHalfHeight
public property UCharacterMovementComponent::NetProxyShrinkRadius
public property UCharacterMovementComponent::NetworkLargeClientCorrectionDistance
public property UCharacterMovementComponent::NetworkMaxSmoothUpdateDistance
public property UCharacterMovementComponent::NetworkMinTimeBetweenClientAckGoodMoves
public property UCharacterMovementComponent::NetworkMinTimeBetweenClientAdjustments
public property UCharacterMovementComponent::NetworkMinTimeBetweenClientAdjustmentsLargeCorrection
public property UCharacterMovementComponent::NetworkNoSmoothUpdateDistance
public property UCharacterMovementComponent::NetworkSimulatedSmoothLocationTime
public property UCharacterMovementComponent::NetworkSimulatedSmoothRotationTime
public property UCharacterMovementComponent::NetworkSmoothingMode
public property UCharacterMovementComponent::OldBaseLocation
protected property UCharacterMovementComponent::OldBaseQuat
public property UCharacterMovementComponent::OutofWaterZ
public property UCharacterMovementComponent::PendingLaunchVelocity
public property UCharacterMovementComponent::PerchAdditionalHeight
public property UCharacterMovementComponent::PerchRadiusThreshold
public property UCharacterMovementComponent::PostPhysicsTickFunction
public property UCharacterMovementComponent::PushForceFactor
public property UCharacterMovementComponent::PushForcePointZOffsetFactor
public property UCharacterMovementComponent::RepulsionForce
public property UCharacterMovementComponent::RequestedVelocity
public property UCharacterMovementComponent::RotationRate
public property UCharacterMovementComponent::ServerCorrectionRootMotion
public property UCharacterMovementComponent::StandingDownwardForceScale
public property UCharacterMovementComponent::StayBasedInAirHeight
public property UCharacterMovementComponent::TouchForceFactor
public property UCharacterMovementComponent::bBaseOnAttachmentRoot
public property UCharacterMovementComponent::bBasedMovementIgnorePhysicsBase
public property UCharacterMovementComponent::bStayBasedInAir

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.