myRotation.linear( targetVector, weightFactor ) in Anark Studio 2.5

Move the rotation towards another rotation vector.

Arguments

nametypedescription
targetVector Vector The rotation to weight towards
weightFactor Number The weighting factor for the i
Return Type
(none)

Description

Modifies the current rotation vector by performing a linear interpolation between the current rotation vector and the supplied rotation vector. The interpolation is created using the following formula: NewRotation = OrigRotation + InterpParam( otherRotation - OrigRotation )