RealDocs

47 results for "ACharacter" in function

function
ACharacter::ApplyAsyncOutput Engine

Writes the results of an async Character Movement simulation back onto the character's authoritative game-thread state.

function
ACharacter::ApplyDamageMomentum Engine

Applies an impulse to the character's movement component based on the incoming damage event.

function
ACharacter::BeginPlay Engine

Called when the game starts or when the character is spawned into the world.

function
ACharacter::CacheInitialMeshOffset Engine

Caches the mesh's offset from the capsule so network smoothing can use it as the interpolation target.

function
ACharacter::CanCrouch Engine

Returns true if the character is currently able to crouch and is not already crouching.

function
ACharacter::CanJump Engine

Returns true if the Character is currently allowed to jump.

function
ACharacter::CanUseRootMotionRepMove Engine

Determines whether a buffered server root motion move is compatible with the current client montage state and can be used to teleport the client back to that position for correction.

function
ACharacter::CheckJumpInput Engine

Called each frame by CharacterMovementComponent to process jump input.

function
ACharacter::ClearCrossLevelReferences Engine

Called during level streaming to null out any references this Character holds to objects in other levels being unloaded.

function
ACharacter::ClearJumpInput Engine

Called each frame after CheckJumpInput to update JumpKeyHoldTime and clear bPressedJump once the hold window expires.

function
ACharacter::ClientAckGoodMove Engine deprecated

Sent by the server to the owning client to acknowledge that a specific move was accepted without correction.

function
ACharacter::ClientAckGoodMove_Implementation Engine deprecated

Client-side body for ClientAckGoodMove.

function
ACharacter::ClientAdjustPosition Engine deprecated

Deprecated client RPC sent by the server to correct the client's position and velocity after detecting client-side prediction error.

function
ACharacter::ClientAdjustPosition_Implementation Engine deprecated

Client-side body of the deprecated ClientAdjustPosition RPC.

function
ACharacter::ClientAdjustRootMotionPosition Engine deprecated

Client RPC that corrects a simulated proxy's position and montage track when the server detects desync during animation root-motion movement.

function
ACharacter::ClientAdjustRootMotionPosition_Implementation Engine deprecated

The client-side implementation body for ClientAdjustRootMotionPosition, executed on the owning client after the RPC is dispatched.

function
ACharacter::ClientAdjustRootMotionSourcePosition Engine deprecated

Client RPC that corrects position and root-motion-source state when the server detects desync during source-driven (non-montage) root motion movement.

function
ACharacter::ClientAdjustRootMotionSourcePosition_Implementation Engine deprecated

Client-side implementation body for the deprecated ClientAdjustRootMotionSourcePosition RPC.

function
ACharacter::ClientCheatFly Engine

Reliable Client RPC sent from the server to switch the character into fly movement mode as part of the cheat system.

function
ACharacter::ClientCheatFly_Implementation Engine

Implementation body for the ClientCheatFly RPC.

function
ACharacter::ClientCheatGhost Engine

Reliable Client RPC sent from the server to switch the character into ghost (noclip) movement mode as part of the cheat system.

function
ACharacter::ClientCheatGhost_Implementation Engine

Implementation body for the ClientCheatGhost RPC.

function
ACharacter::ClientCheatWalk Engine

Reliable Client RPC called from the server to force the character into walk movement mode as part of the cheat system.

function
ACharacter::ClientCheatWalk_Implementation Engine

Implementation body for the ClientCheatWalk RPC.

function
ACharacter::ClientMoveResponsePacked Engine

Client RPC that delivers the server's response to a client move — either an acknowledgement or a position correction.

function
ACharacter::ClientMoveResponsePacked_Implementation Engine

Client-side implementation body for the ClientMoveResponsePacked RPC.

function
ACharacter::ClientMoveResponsePacked_Validate Engine

Validation function for the ClientMoveResponsePacked RPC.

function
ACharacter::ClientVeryShortAdjustPosition Engine deprecated

Bandwidth-saving variant of ClientAdjustPosition that omits velocity, used when the server correction has zero velocity.

function
ACharacter::ClientVeryShortAdjustPosition_Implementation Engine deprecated

Client-side body of the deprecated ClientVeryShortAdjustPosition RPC.

function
ACharacter::Crouch Engine

Requests the character to start crouching.

function
ACharacter::DisplayDebug Engine

Draws Character-specific debug information (movement state, jump state, based movement) to the HUD canvas when `showdebug` is active.

function
ACharacter::Falling Engine

Called by CharacterMovementComponent when the character's movement mode transitions to Falling.

function
ACharacter::FillAsyncInput Engine

Populates an FCharacterAsyncInput struct with the character's current state for handoff to the async Character Movement simulation.

function
ACharacter::FindComponentByClass Engine

Returns the first component of the given class attached to this character.

function
ACharacter::FindRootMotionRepMove Engine

Searches RootMotionRepMoves backwards in time to find the most recent buffered server move that passes CanUseRootMotionRepMove().

function
ACharacter::GatherCurrentMovement Engine

Fills the replicated movement struct (`ReplicatedMovement`) with the Character's current location, rotation, velocity, and base information before it is sent to clients.

function
ACharacter::GetAnimRootMotionTranslationScale Engine

Returns the current scale factor applied to animation root motion translation.

function
ACharacter::GetBaseRotationOffset Engine

Returns the cached rotation offset of the mesh from the capsule rotation as a quaternion.

function
ACharacter::GetBaseRotationOffsetRotator Engine

Returns the cached mesh rotation offset from the capsule as an FRotator.

function
ACharacter::GetBaseTranslationOffset Engine

Returns the cached translation offset of the mesh relative to the capsule center.

function
ACharacter::GetBasedMovement Engine

Returns a read-only reference to the current `FBasedMovementInfo`, which describes the object the character is standing on, the bone they are attached to, and relative location/rotation.

function
ACharacter::GetCapsuleComponent Engine

Returns the CapsuleComponent used for movement collision.

function
ACharacter::GetCharacterMovement Engine

Returns the character's `UCharacterMovementComponent`.

function
ACharacter::GetCurrentMontage Engine

Returns the animation montage currently playing on the character's mesh, or nullptr if no montage is active.

function
ACharacter::GetDefaultHalfHeight Engine

Returns the default (standing) half-height of the Character's CapsuleComponent.

function
ACharacter::GetGravityDirection Engine

Returns the current world-space gravity direction vector for this character.

function
ACharacter::GetGravityTransform Engine

Returns a quaternion that rotates from world space into gravity-relative space, allowing movement and orientation calculations to be performed relative to the current gravity direction.