UMovementComponent::K2_MoveUpdatedComponent

Syntax

bool K2_MoveUpdatedComponent
(
    FVector Delta,
    FRotator NewRotation,
    FHitResult & OutHit,
    bool bSweep,
    bool bTeleport
)

Remarks

Moves our UpdatedComponent by the given Delta, and sets rotation to NewRotation. Respects the plane constraint, if enabled.

Returns

True if some movement occurred, false if no movement occurred. Result of any impact will be stored in OutHit.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/MovementComponent.h

Source

Runtime/Engine/Private/Components/MovementComponent.cpp