BIS_fnc_rotateVector3D

From Bohemia Interactive Community
Revision as of 02:50, 24 December 2018 by R3vo (talk | contribs) (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

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
 */
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki
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