m YoshBot moved page ProtoFlux:Value Constant Lerp to ProtoFlux:ValueConstantLerp: Automated: removing spaces from ProtoFlux namespace |
just a bit more clarity |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
|}} | |}} | ||
The '''Constant Lerp''' node takes in an input value and the speed | The '''Constant Lerp''' node takes in an input value and the speed at which it lerps it linearly towards, then returns the lerped value over time. | ||
{{Note|If you need the lerp to | {{Note|If you need the lerp to have a smooth ending, use the [[ProtoFlux:Value Smooth Lerp|Value Smooth Lerp]] node instead.|suggestion}} | ||
== Inputs == | == Inputs == | ||
Line 25: | Line 25: | ||
=== Speed ([[Type:float|float]]) === | === Speed ([[Type:float|float]]) === | ||
How fast the lerp should be. | How fast the lerp should be. The output value will change by this amount per second. | ||
== Outputs == | == Outputs == |
Latest revision as of 21:18, 23 September 2025
Constant Lerp
Interpolation
The Constant Lerp node takes in an input value and the speed at which it lerps it linearly towards, then returns the lerped value over time.
Inputs
Input (Pseudo-Generic)
The value we want to lerp towards.
Speed (float)
How fast the lerp should be. The output value will change by this amount per second.
Outputs
* (Pseudo-Generic)
Returns the value currently being lerped.