Navigation
API > API/Plugins > API/Plugins/ControlRigDynamics
Simulation data used in the central loops of the solve.
Note that each one of these has an Update function, which may need to be called before the simulate call. The user should only modify things through this update (after instantiation). We have an "Info" structure that accompanies the simulation structure. The Info contains data that is "user-facing" (the user is control rig), and data that is helpful for updating the simulation structures.
| Name | FParticleInfo |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigDynamics/Source/ControlRigDynamics/Public/RigParticleSimulation.h |
| Include Path | #include "RigParticleSimulation.h" |
Syntax
struct FParticleInfo
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bParentParticleIsDirectParent | bool | True when the parent particle's bone is the direct skeleton parent of this particle's bone (no intermediate bones skipped). | RigParticleSimulation.h | |
| bScaleDampingByInverseMass | bool | When true, Damping is scaled by InvMass (drag-like - lighter particles damp faster). | RigParticleSimulation.h | |
| Damping | float | Air/ether drag rate (1/time). Zero disables per-particle drag. See UpdateParticle. | RigParticleSimulation.h | |
| ExternalForce | FSimVector | RigParticleSimulation.h | ||
| GravityMultiplier | float | RigParticleSimulation.h | ||
| MovementType | ERigParticleSimulationMovementType | RigParticleSimulation.h | ||
| NumChildren | int32 | RigParticleSimulation.h | ||
| ParentParticleIndex | int32 | Index into the Particles/ParticleInfos arrays to retrieve the parent particle. | RigParticleSimulation.h | |
| PreviousTargetDirectionFromParent | FSimVector | RigParticleSimulation.h | ||
| PreviousTargetPosition | FSimVector | The previous/current update targets. | RigParticleSimulation.h | |
| PreviousTargetVelocity | FSimVector | RigParticleSimulation.h | ||
| TargetDirectionFromParent | FSimVector | Normalized direction from parent particle to this particle in the target/animation pose. | RigParticleSimulation.h | |
| TargetPosition | FSimVector | RigParticleSimulation.h | ||
| TargetVelocity | FSimVector | RigParticleSimulation.h |