Language:
Discover
By Skill Level
By Category

USceneComponent::SetWorldLocationAndRotation

Choose your OS:

Syntax

void SetWorldLocationAndRotation
(
    FVector NewLocation,
    const FQuat & NewRotation,
    bool bSweep,
    FHitResult * OutSweepHitResult,
    ETeleportType Teleport
)

Remarks

Set the relative location and FQuat rotation of the component to put it at the supplied pose in world space.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneComponent.h

Source

Runtime/Engine/Private/Components/SceneComponent.cpp