LERPFROMEND
A value part of the way from the second back to the first.
Syntax
LERPFROMEND(a,b,t)
| Argument | Meaning |
|---|---|
| a, b | Two numbers, or two positions. |
| t | How far back from b: 0 is b, 1 is a. |
Result
A number or position.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
LERPFROMEND(0,10,0.25) |
7.5 |
LERPFROMEND(P0,P1,0.1) |
[450,0] |
See also: LERP, ALONGFROMEND.