Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponent.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;PhysicsControl&41;
TMap< FName, FPhysicsControlLimbBones > GetLimbBonesFromSkeletalMesh
&40;
USkeletalMeshComponent &42; SkeletalMeshComponent,
const TArray< FPhysicsControlLimbSetupData > & LimbSetupData
&41; const
Remarks
Calculates which bones belong to which limb in a skeletal mesh A map of limb names to bones
Parameters
| Name | Description |
|---|---|
| SkeletalMeshComponent | The skeletal mesh which will be analyzed |
| LimbSetupData | This needs to be filled in with the list of limbs to "discover". Note that the limbs should be listed starting at the "leaf" (i.e. outer) parts of the skeleton first, typically finishing with the spine. In addition, the spine limb is typically specified using the first spine bone, but flagging it to include its parent (normally the pelvis). |