Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Adds a set of physics components including the body, joint and controls.
| Name | FRigUnit_AddPhysicsComponents |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsExecution.h |
| Include Path | #include "RigPhysicsExecution.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Spawn Physics Components", Keywords="Add,Construction,Create,New,Body,Joint,Control", Varying))
struct FRigUnit_AddPhysicsComponents : public FRigUnit_PhysicsBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_PhysicsBaseMutable → FRigUnit_AddPhysicsComponents
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_AddPhysicsComponents() |
RigPhysicsExecution.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAddJoint | bool | RigPhysicsExecution.h |
|
|
| bAddParentSpaceControl | bool | RigPhysicsExecution.h |
|
|
| bAddSimSpaceControl | bool | RigPhysicsExecution.h |
|
|
| BodyData | FPhysicsControlModifierData | The runtime modifiable data of the new physics body. | RigPhysicsExecution.h |
|
| Collision | FRigPhysicsCollision | The collision properties of the new physics body. | RigPhysicsExecution.h |
|
| DriveData | FRigPhysicsDriveData | Optional motor/drive associated with the physics joint. | RigPhysicsExecution.h |
|
| Dynamics | FRigPhysicsDynamics | The dynamics properties of the new physics body. | RigPhysicsExecution.h |
|
| JointData | FRigPhysicsJointData | The properties of the joint. | RigPhysicsExecution.h |
|
| Owner | FRigElementKey | The owner of the newly created component (must be set/valid) | RigPhysicsExecution.h |
|
| ParentSpaceControlComponentKey | FRigComponentKey | RigPhysicsExecution.h |
|
|
| ParentSpaceControlData | FPhysicsControlData | Data for the parent space control. | RigPhysicsExecution.h |
|
| PhysicsBodyComponentKey | FRigComponentKey | RigPhysicsExecution.h |
|
|
| PhysicsJointComponentKey | FRigComponentKey | RigPhysicsExecution.h |
|
|
| SimSpaceControlComponentKey | FRigComponentKey | RigPhysicsExecution.h |
|
|
| SimSpaceControlData | FPhysicsControlData | Data for the simulation space control. | RigPhysicsExecution.h |
|
| Solver | FRigPhysicsBodySolverSettings | The solver to relate this new physics element to. | RigPhysicsExecution.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
RigPhysicsExecution.h |