UPrimitiveComponent::SetAllPhysicsRotation

Set the rotation of all bodies in this component.

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::SetAllPhysicsRotation()

USkeletalMeshComponent::SetAllPhysicsRotation()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp

Syntax

virtual void SetAllPhysicsRotation
(
    FRotator NewRot
)

Remarks

Set the rotation of all bodies in this component. If a SkeletalMeshComponent, the root body will be changed to the desired orientation, and the same delta is applied to all other bodies.

Parameters

Parameter

Description

NewRot

New orienatation for the body

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