UMovementComponent::K2_MoveUpdatedComponent

Moves our UpdatedComponent by the given Delta, and sets rotation to NewRotation.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h

Include

#include "GameFramework/MovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/MovementComponent.cpp

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.

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