The value in progress
represents a position along the path where 0.0 is the beginning and 1.0 is the end of the path.
An interpolated position is then stored in position
.
this |
a Path |
progress |
a position along the path as a fraction of its length |
position |
location to store the position |
index of the node used to calculate the position. |