Login

Fancade Wiki

Updated LERP.md (markdown)

... ...
@@ -1,12 +1,16 @@
1
Linear Interpolation (LERP) returns a value between two others at a point of linear scale. In other words, linearly interpolates between two values.
1
Linear Interpolation (LERP) returns a value between two others at a point of linear scale.
2
3
The formula for the LERP output is:
4
From + (To - From) × Amount
5
2 6
3 7
Input:
4 8
- From: The value to transition from.
5 9
- To: The value to transition to.
6
- Amount: Represents the states in between.
10
- Amount: How far to transition.
7 11
8 12
Output:
9
- Rotation:
13
- Rotation:
10 14
11 15
[[/uploads/Lerp.png]]
12 16
Fancade Wiki