Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
- UPrimitiveComponent::GetComponentTransformFromBodyInstance()
- USkeletalMeshComponent::GetComponentTransformFromBodyInstance()
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 FTransform GetComponentTransformFromBodyInstance
&40;
FBodyInstance &42; UseBI
&41;
Remarks
If PhysicsTransformUpdateMode is set to SimulationUpatesComponentTransform, this returns the world-space transform of the body passed in (assumed to be the root body), after applying the TransformToRoot offset. Otherwise, it returns the component transform.