BIS_fnc_rotateVector3D

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

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)

Syntax

Syntax:
[] call BIS_fnc_rotateVector3D
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:
Example needed

Additional Information

Execution:
call
Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To