Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Math > API/Plugins/ControlRig/Math/Simulation
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Math/Simulation/CRSimLinearSpring.h |
| Include | #include "Math/Simulation/CRSimLinearSpring.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FCRSimLinearSpring
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Coefficient | The power of this spring | |
| float | Equilibrium | The rest length of this spring. | |
| int32 | SubjectA | The first point affected by this spring | |
| int32 | SubjectB | The second point affected by this spring |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CalculateForPoints
(
const FRigVMSimPoint& InPointA, |