Rotates the first vector around the second, clockwise by theta degrees.
_vector | 3D vector that is to be rotated ARRAY |
_rotationAxis | 3D vector that the first argument is rotated around ARRAY |
_theta | Angle, in degrees clockwise, about which the first vector is rotated <NUMBER> |
_returnVector | 3D vector returned after rotation ARRAY |
//Rotate 25 degrees right of player weapon direction; [weaponDirection player, [0,0,1], 25] call CBA_fnc_vectRotate3D; //Pitch a projectile's velocity down 10 degrees; [velocity _projectile, (velocity _projectile) vectorCrossProduct [0,0,1], 10] call CBA_fnc_vectRotate3D;
LorenLuke