Rotate rnd

From IncendiaWiki
Jump to: navigation, search

rotate_rnd angle vx vy vz
Rotate_Rnd is an Incendia Script command that performs a random 3d quaternionic rotation pointing toward the vector (vx,vy,vz)
parameters:
angle, angle in degrees (randomized)
vx,vy,vz, direction of the vector
Example:
rotate_rnd 90 0.0 1.0 0.0