Navigation
API > API/Plugins > API/Plugins/ControlRigDynamics
Replaces the entire shape collection on a Dynamics collider. Construction-event only because the solver's parallel arrays are sized at Instantiate time and cannot grow or shrink at runtime; for editing existing shapes during simulation use the per-shape Set nodes (by Name) instead.
| Name | FRigUnit_HierarchySetDynamicsColliderShapes |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigDynamics/Source/ControlRigDynamics/Public/RigDynamicsColliderExecution.h |
| Include Path | #include "RigDynamicsColliderExecution.h" |
Syntax
USTRUCT (Meta=(DisplayName="Set Dynamics Collider Shapes", Varying))
struct FRigUnit_HierarchySetDynamicsColliderShapes : public FRigUnit_DynamicsBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_DynamicsBaseMutable → FRigUnit_HierarchySetDynamicsColliderShapes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DynamicsColliderComponentKey | FRigComponentKey | The Dynamics Collider to be updated. | RigDynamicsColliderExecution.h |
|
| Shapes | FRigDynamicsShapeCollection | The new shape collection (replaces the existing one wholesale) | RigDynamicsColliderExecution.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RIGVM_METHOD() |
RigDynamicsColliderExecution.h |