Description
Returns vectorDirAndUp of object 1 relative to object 2
Syntax
[object1, object2, visual] call BIS_fnc_vectorDirAndUpRelative
Parameters:
object1: Objectobject2: Objectvisual: Boolean - (Optional, default true) true for a render scope result, false for simulation scope
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