Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Adds a new physics control as a component on the owner element. Note: This node only runs as part of the construction event.
| Name | FRigUnit_AddPhysicsControl |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsControlExecution.h |
| Include Path | #include "RigPhysicsControlExecution.h" |
Syntax
USTRUCT (
Meta=(Category="RigPhysics", NodeColor="1.0 0.6 0.3", DisplayName="Spawn Physics Control", Keywords="Add,Construction,Create,New,Control", Varying))
struct FRigUnit_AddPhysicsControl : public FRigUnit_PhysicsBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_PhysicsBaseMutable → FRigUnit_AddPhysicsControl
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_AddPhysicsControl() |
RigPhysicsControlExecution.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseParentBodyAsDefault | bool | RigPhysicsControlExecution.h |
|
|
| ChildBodyComponentKey | FRigComponentKey | The body that is controlled. | RigPhysicsControlExecution.h |
|
| ControlComponentKey | FRigComponentKey | RigPhysicsControlExecution.h |
|
|
| ControlData | FPhysicsControlData | Describes the initial strength etc of the new control | RigPhysicsControlExecution.h |
|
| ControlMultiplier | FPhysicsControlMultiplier | Fine control over the control strengths etc | RigPhysicsControlExecution.h |
|
| ControlTarget | FPhysicsControlTarget | Describes the initial target for the new control | RigPhysicsControlExecution.h |
|
| Owner | FRigElementKey | The owner of the newly created component (must be set/valid) | RigPhysicsControlExecution.h |
|
| ParentBodyComponentKey | FRigComponentKey | The optional body that "does" the controlling - though if it is dynamic then it can move too. | RigPhysicsControlExecution.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
RigPhysicsControlExecution.h |