SetRelativeRotation

SetRelativeRotation

Windows
MacOS
Linux

Set the rotation of the component relative to its parent

Target is Scene Component

SetRelativeRotation
Target
New Rotation
R 0
P 0
Y0
Sweep
Teleport
Sweep Hit Result

Inputs

In
Exec
Target
Scene Component Object Reference
New Rotation
Rotator

New rotation of the component relative to its parent

Sweep
Boolean

Whether we sweep to the destination (currently not supported for rotation).

Teleport
Boolean

Whether we teleport the physics state (if physics collision is enabled for this object). If true, physics velocity for this object is unchanged (so ragdoll parts are not affected by change in location). If false, physics velocity is updated based on the change in position (affecting ragdoll parts).

Outputs

Out
Exec
Sweep Hit Result
Hit Result Structure

Hit result from any impact if sweep is true.

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