vectorUp: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr2= Math - Vectors
|gr2= Math - Vectors


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


|s1=  [[vectorUp]] object
|s1=  [[vectorUp]] object

Revision as of 22:27, 13 June 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