Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Adds a new physics solver as a component on the owner element. Note: This node only runs as part of the construction event.
| Name | FRigUnit_AddPhysicsSolver |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsExecution.h |
| Include Path | #include "RigPhysicsExecution.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Spawn Physics Solver", Keywords="Add,Construction,Create,New,Simulation", Varying))
struct FRigUnit_AddPhysicsSolver : public FRigUnit_PhysicsBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_PhysicsBaseMutable → FRigUnit_AddPhysicsSolver
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_AddPhysicsSolver() |
RigPhysicsExecution.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Owner | FRigElementKey | The owner of the newly created component (must be set/valid) | RigPhysicsExecution.h |
|
| PhysicsSolverComponentKey | FRigComponentKey | RigPhysicsExecution.h |
|
|
| SimulationSpaceSettings | FRigPhysicsSimulationSpaceSettings | RigPhysicsExecution.h |
|
|
| SolverSettings | FRigPhysicsSolverSettings | RigPhysicsExecution.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
RigPhysicsExecution.h |