/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h
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.
virtual FTransform GetComponentTransformFromBodyInstance ( [FBodyInstance](API\Runtime\Engine\PhysicsEngine\FBodyInstance) * UseBI )