Language:
Discover
By Skill Level
By Category

USceneComponent::MoveComponent

Choose your OS:

Syntax

bool MoveComponent
(
    const FVector & Delta,
    const FRotator & NewRotation,
    bool bSweep,
    FHitResult * Hit,
    EMoveComponentFlags MoveFlags,
    ETeleportType Teleport
)

Remarks

FRotator version. This could be a simple wrapper to the FQuat version, but in the case of no significant change in location or rotation (as FRotator ), we avoid passing through to the FQuat version because conversion can generate a false negative for the rotation equality comparison done using a strict tolerance.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneComponent.h

Source

Runtime/Engine/Private/Components/SceneComponent.cpp