BIS_fnc_rotateVector3D

From Bohemia Interactive Community
Revision as of 10:39, 2 February 2021 by R3vo (talk | contribs) (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z 0-9 A-Z_]*\}\}\]\]" to "")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Vectors

Syntax

Syntax:
Syntax needed
Parameters:
[vector, angle, axis]: Array
vector: Array - given vector in format Vector3D
angle: Number - given angle (taken in the opposite direction to the one defined by the right hand rule)
axis: Number - rotation axis:
  • 0 - X axis
  • 1 - Y axis
  • 2 - Z axis
Return Value:
Return value needed

Examples

Example 1:
[vectorDir player, 90, 2] call BIS_fnc_rotateVector3D;

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