Navigation
API > API/Plugins > API/Plugins/PhysicsControl
Setup data that are used to create the representation of a single limb. A limb is an array of contiguous bones (e.g. left arm, or the spine etc). We can define it has the set of bones that are children of a start bone (plus the start bone itself), plus optionally the parent of that start bone (this is useful when defining the spine, since you will want to include the pelvis, but you don't to include all the children of the pelvis since that would include the legs), but excluding any bones that are already part of another limb. This implies limbs should be constructed in order from leaf to root (in practice, that normally means defining the spine after other limbs such as the arms and legs).
| Name | FPhysicsControlLimbSetupData |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlLimbData.h |
| Include Path | #include "PhysicsControlLimbData.h" |
Syntax
USTRUCT (BlueprintType )
struct FPhysicsControlLimbSetupData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPhysicsControlLimbSetupData() |
PhysicsControlLimbData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCreateBodyModifiers | uint8 | Whether to create body modifiers for this limb | PhysicsControlLimbData.h |
|
| bCreateParentSpaceControls | uint8 | Whether to create parent-space controls for this limb | PhysicsControlLimbData.h |
|
| bCreateWorldSpaceControls | uint8 | Whether to create-world space controls for this limb | PhysicsControlLimbData.h |
|
| bIncludeParentBone | uint8 | Whether or not to include the parent of the start bone. | PhysicsControlLimbData.h |
|
| LimbName | FName | The name of the limb that this will be used to create | PhysicsControlLimbData.h |
|
| StartBone | FName | Normally the root-most bone of the limb (e.g. left clavicle when defining the left arm) - so the limb will contain children of this bone (plus this bone itself). | PhysicsControlLimbData.h |
|
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FPhysicsControlLimbSetupData& other |
PhysicsControlLimbData.h |