Skip to content

Lerp Vector Arrays

Ryan Porter edited this page Feb 25, 2018 · 2 revisions

lerpVectorArrays

Returns the linear or spherical interpolation from inputVector1 to inputVector2.

Attribute Name Description Attribute Type
inputVector1 (iv1) Vectors to interpolate from. vectorArray
inputVector2 (iv2) Vectors to interpolate to. vectorArray
tween (t) Interpolation value. As t goes from 0 to 1, the vectors returned go from inputVector1 to inputVector2. double
slerp (slerp) If True, outputVector will be the spherical interpolation between vectors. Otherwise, it will be the linear interpolation. bool
outputVector (ov) Vectors that have been interpolated from inputVector1 to inputVector2. vectorArray