RealDocs

50 results for "movement"

class
UCharacterMovementComponent Engine

The movement component used by ACharacter.

property
UCharacterMovementComponent::MovementMode Engine

The character's current movement mode — walking, falling, flying, swimming, or a custom mode.

function
UCharacterMovementComponent::AddForce Engine

Queues a continuous force to be applied to the character, scaled by mass and accumulated across multiple calls within the same tick.

function
UCharacterMovementComponent::AddImpulse Engine

Applies an instantaneous impulse to the character's velocity.

function
UCharacterMovementComponent::AddReferencedObjects Engine

Part of the UObject garbage collection interface — reports any UObject references this component holds beyond its reflected UPROPERTY members, so the GC doesn't collect them prematurely.

property
UCharacterMovementComponent::AirControl Engine

Amount of lateral movement control available while falling, from 0 (no control) to 1 (full control at MaxWalkSpeed).

property
UCharacterMovementComponent::AirControlBoostMultiplier Engine

Multiplier applied to AirControl while falling when lateral speed is below AirControlBoostVelocityThreshold, giving extra control at low speed.

property
UCharacterMovementComponent::AirControlBoostVelocityThreshold Engine

Lateral speed threshold below which AirControl is multiplied by AirControlBoostMultiplier.

function
UCharacterMovementComponent::ApplyNetworkMovementMode Engine

Decodes a packed network movement mode byte and applies it to the character, setting MovementMode, custom mode, and GroundMovementMode in one step.

property
UCharacterMovementComponent::AvoidanceConsiderationRadius Engine

Radius around the character used by the RVO avoidance system to decide which nearby agents to consider when steering around them.

property
UCharacterMovementComponent::AvoidanceGroup Engine

Group mask identifying which avoidance group this character belongs to, used together with GroupsToAvoid and GroupsToIgnore to filter RVO neighbors.

property
UCharacterMovementComponent::AvoidanceUID Engine

Unique identifier assigned by the avoidance manager when this component registers for RVO avoidance.

property
UCharacterMovementComponent::AvoidanceWeight Engine

Relative priority this character gives its own path versus yielding to other agents in RVO avoidance calculations.

function
UCharacterMovementComponent::BeginPlay Engine

Initializes movement-simulation state (such as cached navigation and prediction data) once the component's owning actor has begun play.

property
UCharacterMovementComponent::BrakingDecelerationFalling Engine

Lateral deceleration applied while falling and not applying acceleration.

property
UCharacterMovementComponent::BrakingDecelerationFlying Engine

Constant deceleration applied while flying and not applying acceleration, used to bring the character to a stop.

property
UCharacterMovementComponent::BrakingDecelerationSwimming Engine

Deceleration applied while swimming when the character has no acceleration input, in centimetres per second squared.

property
UCharacterMovementComponent::BrakingDecelerationWalking Engine

Constant deceleration applied while walking when there is no input acceleration, used to bring the character to a stop.

property
UCharacterMovementComponent::BrakingFriction Engine

Friction coefficient used specifically for braking (stopping), separate from the friction used during normal movement.

property
UCharacterMovementComponent::BrakingFrictionFactor Engine

Multiplier applied to whatever friction value is currently in effect when the character is braking (no input, or over max speed).

property
UCharacterMovementComponent::BrakingSubStepTime Engine

Time slice used when substepping the braking friction calculation.

property
UCharacterMovementComponent::Buoyancy Engine

Ratio controlling how much a character floats while swimming.

function
UCharacterMovementComponent::CalcVelocity Engine

Updates Velocity and Acceleration for the current tick by applying friction and acceleration or deceleration.

function
UCharacterMovementComponent::CanStartPathFollowing Engine

Queried by the path following component to check whether this character is currently in a movement state where following a path can begin.

function
UCharacterMovementComponent::CanStepUp Engine

Returns whether the character is currently allowed to step up onto the actor or component recorded in the given hit result.

function
UCharacterMovementComponent::CanStopPathFollowing Engine

Queried by the path following component to check whether it is safe to stop an in-progress path-following move right now, for example when the move is cancelled or the goal changes.

function
UCharacterMovementComponent::CheckFall Engine

Determines whether the character should start falling after losing its footing, and if so calls HandleWalkingOffLedge() and transitions it into the Falling movement mode.

function
UCharacterMovementComponent::CheckLedgeDirection Engine

Tests whether stepping sideways by SideStep from OldLocation lands on a walkable floor, used to decide whether the character can slide along a ledge instead of falling off it.

function
UCharacterMovementComponent::ClearAccumulatedForces Engine

Clears forces accumulated through AddImpulse() and AddForce(), and also cancels any pending launch velocity.

function
UCharacterMovementComponent::ClientAckGoodMove Engine deprecated

Legacy replicated function that tells the client no adjustment is needed for a given move, so it can be removed from SavedMoves.

function
UCharacterMovementComponent::ClientAckGoodMove_Implementation Engine

Called on the client when the server's move response indicates no correction was needed, so the acknowledged move can be removed from the pending SavedMoves list.

function
UCharacterMovementComponent::ClientAdjustPosition Engine deprecated

Legacy client RPC the server calls to correct a client's position and velocity after detecting enough prediction error, triggering the client to replay pending moves from the corrected state.

function
UCharacterMovementComponent::ClientAdjustPosition_Implementation Engine

Applies a full position/velocity correction sent from the server to a locally controlled client, then replays subsequent unacknowledged moves from the client's saved move list.

function
UCharacterMovementComponent::ClientAdjustRootMotionPosition Engine deprecated

Legacy fixed-signature client RPC for root motion position correction, superseded by the packed move response system routed through ClientHandleMoveResponse.

function
UCharacterMovementComponent::ClientAdjustRootMotionPosition_Implementation Engine

Applies a position correction from the server while the client is driving movement from animation root motion, also resyncing the client's montage playback position to the server's.

function
UCharacterMovementComponent::ClientAdjustRootMotionSourcePosition Engine deprecated

Legacy fixed-signature client RPC for root motion source position correction, superseded by the packed move response system routed through ClientHandleMoveResponse.

function
UCharacterMovementComponent::ClientAdjustRootMotionSourcePosition_Implementation Engine

Applies a position correction from the server while one or more RootMotionSources (e.

function
UCharacterMovementComponent::ClientHandleMoveResponse Engine

On the client, interprets the server's move response after it's unpacked, dispatching to ClientAckGoodMove_Implementation() if there was no error, or to one of the root motion/position adjustment implementations otherwise.

function
UCharacterMovementComponent::ClientVeryShortAdjustPosition Engine deprecated

Bandwidth-saving variant of the legacy ClientAdjustPosition RPC used when the server's corrected velocity is zero, so only position needs to be sent over the wire.

function
UCharacterMovementComponent::ClientVeryShortAdjustPosition_Implementation Engine

Implementation body for the legacy ClientVeryShortAdjustPosition RPC, applying a bandwidth-saving position-only correction (velocity assumed zero) to the local client.

function
UCharacterMovementComponent::ComputeFloorDist Engine

Computes the swept distance from the bottom of the capsule to the first walkable point of impact and stores the result in OutFloorResult, ignoring whether the capsule's own collision is enabled.

function
UCharacterMovementComponent::ComputeOrientToMovementRotation Engine

Computes the target rotation the character should turn toward based on its current Acceleration, used by PhysicsRotation() when bOrientRotationToMovement is true.

function
UCharacterMovementComponent::ComputePerchResult Engine

Sweeps a smaller capsule of TestRadius to determine whether the character could stand perched at the edge represented by InHit, within InMaxFloorDist of the impact point.

function
UCharacterMovementComponent::ConvertLocalRootMotionToWorld Engine

Takes a root motion delta transform captured in component space and converts it into a world-space transform, running any bound ProcessRootMotionPreConvertToWorld/ProcessRootMotionPostConvertToWorld delegates around the conversion.

function
UCharacterMovementComponent::ConvertRootMotionServerIDsToLocalIDs Engine

Rewrites server-assigned root motion source IDs in InOutServerRootMotion to the equivalent local client IDs, using the most recent ID mappings recorded during move replay.

function
UCharacterMovementComponent::Crouch Engine

Checks that the reduced capsule size fits without encroachment and, if so, shrinks the capsule and calls CharacterOwner->OnStartCrouch().

property
UCharacterMovementComponent::CrouchedHalfHeight Engine deprecated

Capsule half-height to use while the character is crouched, before any component scale is applied.

property
UCharacterMovementComponent::CurrentFloor Engine

Cached information about the floor the character is currently standing on — walkability, impact normal, and hit result — updated only during Walking movement.

property
UCharacterMovementComponent::CustomMovementMode Engine

The active custom sub-mode when MovementMode is set to MOVE_Custom.

property
UCharacterMovementComponent::DefaultLandMovementMode Engine

Movement mode a Character starts with, or reverts to, when not in water — applied at player start and after teleporting.