Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Simulation
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_SimBase
- FRigVMFunction_VerletIntegrateVector
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
| Include | #include "RigVMFunctions/Simulation/RigVMFunction_Verlet.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Verlet (Vector)", Category="Simulation|Springs", TemplateName="Verlet", Keywords="Simulate,Integrate"))
struct FRigVMFunction_VerletIntegrateVector : public FRigVMFunction_SimBase
Remarks
Simulates a single position over time using Verlet integration. It is recommended to use SpringInterp instead as it is more accurate and stable, and has more meaningful parameters.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | Acceleration | ||
| bool | bInitialized | ||
| float | Blend | The amount of blending to apply per second | |
| float | Damp | The amount of damping to apply ( 0.0 to 1.0, but usually really low like 0.005 ) | |
| FVector | Force | The force feeding into the solver. Can be used for gravity. | |
| FRigVMSimPoint | Point | ||
| FVector | Position | ||
| float | Strength | The strength of the verlet spring | |
| FVector | Target | ||
| FVector | Velocity |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
RIGVM_METHOD () |