Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Execution
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnitMutable
- FRigUnit_DynamicHierarchyBaseMutable
- FRigUnit_HierarchyAddElement
- FRigUnit_HierarchyAddPhysicsJoint
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Execution/RigUnit_Physics.h |
| Include | #include "Units/Execution/RigUnit_Physics.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Spawn Physics Joint", Keywords="Construction,Create,New,Joint,Skeleton", Varying))
struct FRigUnit_HierarchyAddPhysicsJoint : public FRigUnit_HierarchyAddElement
Remarks
Adds a new physics joint to the hierarchy Note: This node only runs as part of the construction event.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRigPhysicsSettings | Settings | The settings of the new physics element | |
| FRigPhysicsSolverID | Solver | The solver to relate this new physics element to | |
| FTransform | Transform | The initial global transform of the spawned element |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigUnit_HierarchyAddElement
| Type | Name | Description | |
|---|---|---|---|
| ERigElementType |
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |