Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
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 |
void InstantiatePhysicsAssetBodies
&40;
const UPhysicsAsset & PhysAsset,
TArray< FBodyInstance &42; > & OutBodies,
FPhysScene &42; PhysScene,
USkeletalMeshComponent &42; OwningComponent,
int32 UseRootBodyIndex,
const FPhysicsAggregateHandle & UseAggregate
&41; const
Remarks
Instantiates only the bodies given a physics asset, not the constraints. The Created bodies are owned by the calling code and must be freed when necessary.