Arma 3 Scripting

BIS_fnc_vectorDirAndUpRelative

  • Arma 3 v1.64

Function · Markdown · JSON · original wiki page

Description

Returns vectorDirAndUp of object 1 relative to object 2

Syntax

[object1, object2, visual] call BIS_fnc_vectorDirAndUpRelative

Parameters:

Returns: Array in format [vectorDir, vectorUp]

Examples

Example 1

private _vectorDirAndUp = [tank, car] call BIS_fnc_vectorDirAndUpRelative;

See also

BIS_fnc_attachToRelative · BIS_fnc_weaponDirectionRelative · vectorDir · vectorUp · setVectorDirAndUp