ALONG
A point a distance from one position towards another.
Syntax
ALONG(a,b,d)
| Argument | Meaning |
|---|---|
| a | Where to start. |
| b | Which way to go: towards this position. |
| d | How far (it can be more than the distance between them, or negative). |
Result
A position.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
ALONG(P0,P1,100) |
[100,0] |
ALONG(P0,P2,DISTANCE(P0,P2)/2) |
[250,150] |
Notes
Given numbers instead of positions, ALONG works like LERP.
See also: ALONGFROMEND, LERP, NORMALIZE.