UCharacterMovementComponent::RevertMove

Revert to previous position OldLocation, return to being based on OldBase.

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

void RevertMove
(
    const FVector & OldLocation,
    UPrimitiveComponent * OldBase,
    const FVector & InOldBaseLocation,
    const FFindFloorResult & OldFloor,
    bool bFailMove
)

Remarks

Revert to previous position OldLocation, return to being based on OldBase. if bFailMove, stop movement and notify controller

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