BIS_fnc_rotateVector3D

From Bohemia Interactive Community
Revision as of 15:28, 2 April 2019 by Erentar (talk | contribs) (infobox to template)
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
 */
Template:placeholder
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