myVector.linear( targetVector, weightFactor ) in Anark Studio 2.5
Move the vector towards another vector.
Arguments
name | type | description |
---|---|---|
targetVector | Vector | The vector to weight towards.< |
weightFactor | Number | The weighting factor for the i |
- Return Type
- (none)
Description
Modifies the current vector by performing a linear interpolation between the current vector and the given vector.
The interpolation is created using the following formula:
NewVector = OrigVector + InterpParam( Vector2 - OrigVector )