Arma 3 Scripting

BIS_fnc_rotateVector3D

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Rotates the vector around the given axis by the given angle

Syntax

[vector, angle, axis] call BIS_fnc_rotateVector3D

Parameters:

Returns: Array - rotated vector in format Vector3D

Examples

Example 1

[vectorDir player, 90, 2] call BIS_fnc_rotateVector3D;

See also

BIS_fnc_transformVectorDirAndUp · BIS_fnc_rotateVector2D