Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Instantiates all the objects in the physics world. Some properties can't be modified after this happens. Note that it will happen automatically during the first simulation step if it hasn't been explicitly requested. Explicit instantiation allows the timing to be controlled, as allocations etc may cause some delays.
| Name | FRigUnit_InstantiatePhysics |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsExecution.h |
| Include Path | #include "RigPhysicsExecution.h" |
Syntax
USTRUCT (Meta=(DisplayName="Instantiate physics"))
struct FRigUnit_InstantiatePhysics : public FRigUnit_PhysicsBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_PhysicsBaseMutable → FRigUnit_InstantiatePhysics
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_InstantiatePhysics() |
RigPhysicsExecution.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PhysicsSolverComponentKey | FRigComponentKey | The solver to relate this new physics element to | RigPhysicsExecution.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
RigPhysicsExecution.h |