FCRSimLinearSpring

Windows
MacOS
Linux

References

Module

ControlRig

Header

/Engine/Plugins/Experimental/ControlRig/Source/ControlRig/Public/Math/Simulation/CRSimLinearSpring.h

Include

#include "Math/Simulation/CRSimLinearSpring.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct FCRSimLinearSpring

Variables

Name Description

Public variable UProperty

float

 

Coefficient

The power of this spring

Public variable UProperty

float

 

Equilibrium

The rest length of this spring.

Public variable UProperty

int32

 

SubjectA

The first point affected by this spring

Public variable UProperty

int32

 

SubjectB

The second point affected by this spring

Constructors

Name Description

Public function

FCRSimLinearSpring()

Functions

Name Description

Public function Const

void

 

CalculateForPoints

(
    const FCRSimPoint& InPointA,
    const FCRSimPoint& InPointB,
    FVector& ForceA,
    FVector& ForceB
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss