Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UCharacterMovementComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include | #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
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| 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. |