LERP: Difference between revisions
(Removed the TODO) |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 8: | Line 8: | ||
|output1={{Port|r}} | |output1={{Port|r}} | ||
}} | }} | ||
Linear Interpolation (LERP) returns a rotation between From and To at a point of linear scale specified by the Amount. | Linear Interpolation (LERP) returns a [[rotation]] between From and To at a point of linear scale specified by the Amount. | ||
<code>Rotation = From + (To - From) × Amount</code> | <code>Rotation = From + (To - From) × Amount</code> |
Latest revision as of 00:33, 23 August 2025
LERP
Type | Script block |
Collider | None |
Folder | Math |
Ports | |
---|---|
Inputs | From To Amount |
Outputs | Rotation |
Linear Interpolation (LERP) returns a rotation between From and To at a point of linear scale specified by the Amount.
Rotation = From + (To - From) × Amount
See also: Linear Interpolation