RealDocs

UCharacterMovementComponent::LastUpdateRequestedVelocity

property Engine Since unknown
#include "GameFramework/CharacterMovementComponent.h"
Access: public Specifiers: UPROPERTY(Transient)

Description

The path-following requested velocity that was consumed during the most recent movement update.

Caveats & Gotchas

  • Prefer the accessor GetLastUpdateRequestedVelocity() over reading this field directly from C++, and it's the only one of the two exposed to Blueprint.
  • Updated only when the movement component actually consumes RequestedVelocity for a move — if no move happened this tick, it retains its previous value rather than resetting.

Signature

FVector LastUpdateRequestedVelocity

Example

Checking what velocity was actually applied C++
UCharacterMovementComponent* Movement = GetCharacterMovement();
const FVector AppliedRequest = Movement->GetLastUpdateRequestedVelocity();
// Compare against Movement->RequestedVelocity to see if this frame's request was consumed yet

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.