This is an old revision of the document!
⇐ Index
RotateTowards(<-start <-target <-maxDegrees) ->vec
Rotates a start vector (x,y,z) towards a target vector (x,y,z). Will not move more than maxDegrees. The resulting vector is pushed to the stack as a float of three floats. Each vector is treated as a direction rather than a position and is treated as having 3 values. So 4 dimensional vectors are not supported. If negative maxDegrees is specified, the result is a vector that rotates away from the target vector.
RotateTowards(V3(1 0 0) V3(1 1 1) 10) ->vec
⇐ Index