Navigation
API > API/Plugins > API/Plugins/RigVM
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.
| Name | FRigVMFunction_VerletIntegrateVector |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
| Include Path | #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
Inheritance Hierarchy
- FRigVMStruct → FRigVMFunction_SimBase → FRigVMFunction_VerletIntegrateVector
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMFunction_VerletIntegrateVector() |
RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Acceleration | FVector | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
|
| bInitialized | bool | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
|
| Blend | float | The amount of blending to apply per second | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
| Damp | float | The amount of damping to apply ( 0.0 to 1.0, but usually really low like 0.005 ) | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
| Force | FVector | The force feeding into the solver. Can be used for gravity. | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
| Point | FRigVMSimPoint | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
|
| Position | FVector | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
|
| Strength | float | The strength of the verlet spring | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
| Target | FVector | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
|
| Velocity | FVector | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |
|
Functions
Public
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Execute logic for this struct | RigVMFunctions/Simulation/RigVMFunction_Verlet.h |