LerpVector
From Onset Developer Wiki
Description
Interpolates between vector A and vector B with the parameter t.
Syntax
LerpVector(t, aX, aY, aZ, bX, bY, bZ)
Parameters
- t
The interpolant, normally between 0.0 and 1.0 - aX
Interpolate from X. - aY
Interpolate from Y. - aZ
Interpolate from Z. - bX
Interpolate to X. - bY
Interpolate to Y. - bZ
Interpolate to Z.
Return Value
- Returns the interpolated vector (3 floats).
Example
print(LerpVector(0.5, 2.0, 4.0, 1.0, 4.0, 5.0, 2.0))