BIS fnc rotateVector3D: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "\[https?\:\/\/en\.wikipedia\.org\/wiki\/([^ ]+) (.+)\]" to "{{Wikipedia|$1|$2}}") |
||
Line 13: | Line 13: | ||
|p1= [vector, angle, axis]: [[Array]] | |p1= [vector, angle, axis]: [[Array]] | ||
|p2= vector: [[Array]] - given vector in format [[Vector3D]] | |p2= vector: [[Array]] - given vector in format [[Vector3D]] | ||
|p3= angle: [[Number]] - given angle (taken in the opposite direction to the one defined by the | |p3= angle: [[Number]] - given angle (taken in the opposite direction to the one defined by the {{Wikipedia|Right-hand_rule|right hand rule}}) | ||
|p4= axis: [[Number]] - rotation axis: | |p4= axis: [[Number]] - rotation axis: | ||
* 0 - '''X''' axis | * 0 - '''X''' axis |
Revision as of 15:54, 30 May 2021
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
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