Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USceneComponent > API/Runtime/Engine/Components/USceneComponent/SetWorldLocationAndRotation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h |
| Include | #include "Components/SceneComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SceneComponent.cpp |
void SetWorldLocationAndRotation
&40;
FVector NewLocation,
const FQuat & NewRotation,
bool bSweep,
FHitResult &42; OutSweepHitResult,
ETeleportType Teleport
&41;
Remarks
Set the relative location and FQuat rotation of the component to put it at the supplied pose in world space.