Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCharacterMovementComponent
Description
Event triggered when we are moving on a base but we are not able to move the full DeltaPosition because something has blocked us. Note: MoveComponentFlags includes the flag to ignore the movement base while this event is fired.
| Name | OnUnableToFollowBaseMove |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include Path | #include "GameFramework/CharacterMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual void OnUnableToFollowBaseMove
(
const FVector & DeltaPosition,
const FVector & OldLocation,
const FHitResult & MoveOnBaseHit
)
Parameters
| Name | Remarks |
|---|---|
| DeltaPosition | How far we tried to move with the base. |
| OldLocation | Location before we tried to move with the base. |
| MoveOnBaseHit | Hit result for the object we hit when trying to move with the base. |