vectorUp: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1
|1.00|Game version=
|1.00
|arg= global|Multiplayer Arguments=
|arg= global


|gr2= Math - Vectors |GROUP2=
|gr2= Math - Vectors


| Returns up vector of the given object in format [[Vector3D]]. |DESCRIPTION=
| Returns up vector of the given object in format [[Vector3D]].


| [[vectorUp]] object |SYNTAX=
| [[vectorUp]] object


|p1=  object: [[Object]] |PARAMETER1=
|p1=  object: [[Object]]


| [[Array]] - up vector in format [[Vector3D]] |RETURNVALUE=
| [[Array]] - up vector in format [[Vector3D]]


|x1= <code>_objUpVector = [[vectorUp]] myObject;
|x1= <code>_objUpVector = [[vectorUp]] myObject;
</code>|EXAMPLE1=
</code>
| [[vectorUpVisual]], [[vectorDir]], [[setVectorDir]], [[setVectorUp]], [[setVectorDirAndUp]], [[vectorDiff]], [[vectorAdd]], [[vectorMultiply]], [[vectorCrossProduct]], [[vectorDistance]], [[vectorMagnitudeSqr]], [[vectorDistanceSqr]], [[vectorCos]], [[vectorMagnitude]], [[vectorDotProduct]], [[vectorNormalized]], [[vectorFromTo]], [[BIS_fnc_getPitchBank]], [[BIS_fnc_transformVectorDirAndUp]] |SEEALSO=
| [[vectorUpVisual]], [[vectorDir]], [[setVectorDir]], [[setVectorUp]], [[setVectorDirAndUp]], [[vectorDiff]], [[vectorAdd]], [[vectorMultiply]], [[vectorCrossProduct]], [[vectorDistance]], [[vectorMagnitudeSqr]], [[vectorDistanceSqr]], [[vectorCos]], [[vectorMagnitude]], [[vectorDotProduct]], [[vectorNormalized]], [[vectorFromTo]], [[BIS_fnc_getPitchBank]], [[BIS_fnc_transformVectorDirAndUp]]


}}
}}

Revision as of 12:41, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns up vector of the given object in format Vector3D.
Groups:
Math - Vectors

Syntax

Syntax:
vectorUp object
Parameters:
object: Object
Return Value:
Array - up vector in format Vector3D

Examples

Example 1:
_objUpVector = vectorUp myObject;

Additional Information

See also:
vectorUpVisualvectorDirsetVectorDirsetVectorUpsetVectorDirAndUpvectorDiffvectorAddvectorMultiplyvectorCrossProductvectorDistancevectorMagnitudeSqrvectorDistanceSqrvectorCosvectorMagnitudevectorDotProductvectorNormalizedvectorFromToBIS_fnc_getPitchBankBIS_fnc_transformVectorDirAndUp

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

Notes