Arma 3 Scripting

Command in Math - Vectors

vectorUp

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns an object's up vector in world space.

Important

The vector is not necessarily normalized. The magnitude of the vector depends on the object's scale.

Syntax

vectorUp object

Parameters:

Returns: Vector3D

Examples

Example 1

_vecUp = vectorUp MyObject;

See also

vectorUpVisual · vectorDir · vectorSide · vectorSideVisual · setVectorDir · setVectorUp · setVectorDirAndUp · vectorDiff · vectorAdd · vectorMultiply · vectorCrossProduct · vectorDistance · vectorMagnitudeSqr · vectorDistanceSqr · vectorCos · vectorMagnitude · vectorDotProduct · vectorNormalized · vectorFromTo · BIS_fnc_getPitchBank · BIS_fnc_transformVectorDirAndUp