Navigation
API > API/Plugins > API/Plugins/ControlRigDynamics
A component that can be added to a joint/element that defines how a system of particles can be solved.
| Name | FRigDynamicsSolverComponent |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigDynamics/Source/ControlRigDynamics/Public/RigDynamicsSolverComponent.h |
| Include Path | #include "RigDynamicsSolverComponent.h" |
Syntax
USTRUCT (BlueprintType )
struct FRigDynamicsSolverComponent : public FRigBaseComponent
Inheritance Hierarchy
- FRigBaseComponent → FRigDynamicsSolverComponent
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Colliders | TArray< FRigComponentKey > | Collision shapes attached to bones in the hierarchy. | RigDynamicsSolverComponent.h |
|
| ConeLimits | TArray< FRigComponentKey > | Cone limits apply forces to triples of particles to limit the angle between them. | RigDynamicsSolverComponent.h |
|
| Confiners | TArray< FRigComponentKey > | Confinement shapes attached to bones in the hierarchy. | RigDynamicsSolverComponent.h |
|
| Constraints | TArray< FRigComponentKey > | Constraints apply forces to pairs of particles to maintain a target distance. | RigDynamicsSolverComponent.h |
|
| Settings | FRigDynamicsSolverSettings | RigDynamicsSolverComponent.h |
|
|
| SpaceMotion | FRigDynamicsSimulationSpaceMotion | Simulation-space motion conditioning + the two consumers (inertial pseudo-forces and drag) nested inside it. | RigDynamicsSolverComponent.h |
|
| TeleportDetection | FRigDynamicsTeleportDetectionSettings | Teleport-detection thresholds. Independent of SpaceMotion - these read raw deltas. | RigDynamicsSolverComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DynamicsSolverPtr | TSharedPtr< FRigDynamicsSolver > | We use a TSharedPtr here in anticipation of supporting world collisions (see Control Rig Physics). | RigDynamicsSolverComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Particles can be dynamic or kinematic. | RigDynamicsSolverComponent.h | ||
FRigDynamicsSolver * GetDynamicsSolver() |
This will make the internally owned solver if necessary, and return it. | RigDynamicsSolverComponent.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultComponentName() |
RigDynamicsSolverComponent.h | ||
virtual void Load
(
FArchive& Ar |
RigDynamicsSolverComponent.h | ||
virtual void Save
(
FArchive& Ar |
RigDynamicsSolverComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Serialize
(
FArchive& Ar |
RigDynamicsSolverComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetDefaultName() |
RigDynamicsSolverComponent.h |