Arma 3 Scripting

vectorUp

  • Global argument
  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · 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