Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent > API/Runtime/Engine/Components/USkeletalMeshComponent/SetAllPhysicsRotation
- UPrimitiveComponent::SetAllPhysicsRotation()
- USkeletalMeshComponent::SetAllPhysicsRotation()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
virtual void SetAllPhysicsRotation
&40;
const FQuat & NewRot
&41;
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
| Name | Description |
|---|---|
| NewRot | New orienatation for the body |