BIS_fnc_rotateVector3D
Jump to navigation
Jump to search
Description
- Description:
/* * Author: Zozo * Rotates the vector around the given axis by the given angle * * Arguments: * 0: _vector ARRAY [x,y,z] * 1: _angle SCALAR (accepts also negative numbers) * 2: _axis (AXIS_X - 0, AXIS_Y - 1 AXIS_Z - 2) * * Return Value: * ARRAY [x,y,z] * * Example: [vectorDir player, 90, AXIS_Z] call BIS_rotateVector; * * * Dependency: BIS_fnc_multiplySquareMatrixByVector */
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [] call BIS_fnc_rotateVector3D
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
Examples
- Example 1:
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note