Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
References
| Module | NetworkPredictionExtras |
| Header | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/Springs.h |
| Include | #include "Springs.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FSpring
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | DampingStrength | Strength of damping term. | |
| FVector | LocalDirection | Direction of spring force applied to body. | |
| FVector | LocalPosition | Position of spring relative to actor, raycast starts here and force is applied at this position. | |
| float | NaturalLength | Natural length of spring when it is not stretched/compressed. | |
| float | RaycastLength | Lenght of raycast. | |
| float | Stiffness | Strength of spring force. | |
| TEnumAsByte< ECollisionChannel > | TraceChannel | Trace channel of raycast. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSpring () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | |||
| void | ResetState () |
||
| void | SetPreviousLength
(
float InLength |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FSpring& Spring |