UCharacterMovementComponent::OnUnableToFollowBaseMove

Event triggered when we are moving on a base but we are not able to move the full DeltaPosition because something has blocked us.

Windows
MacOS
Linux

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

Syntax

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss