Choose your operating system:
Windows
macOS
Linux
Module |
|
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
)
Event triggered when we are moving on a base but we are not able to move the full DeltaPosition because something has blocked us.
MoveComponentFlags includes the flag to ignore the movement base while this event is fired.
Parameter |
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. |