Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
- UPrimitiveComponent::SetAllPhysicsPosition()
- USkeletalMeshComponent::SetAllPhysicsPosition()
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 |
virtual void SetAllPhysicsPosition
(
FVector NewPos
)
Remarks
Set the position of all bodies in this component. If a SkeletalMeshComponent, the root body will be placed at the desired position, and the same delta is applied to all other bodies.
Parameters
| Name | Description |
|---|---|
| NewPos | New position for the body |