BIS_fnc_vectorDirAndUpRelative

From Bohemia Interactive Community
Revision as of 00:00, 6 October 2020 by R3vo (talk | contribs) (Text replacement - "|Game version=" to "|Game version= |gr1= Vectors |GROUP1=")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.661.66
Hover & click on the images for descriptions

Description

Description:
Returns vectorDirAndUp of object 1 relative to object 2

Syntax

Syntax:
[object1, object2, visual] call BIS_fnc_vectorDirAndUpRelative
Parameters:
object1: Object
object2: Object
visual (Optional): Boolean - if true - result is in render scope, false - simulation scope. Default: true
Return Value:
Array in format [vectorDir, vectorUp]

Examples

Example 1:
_vectorDirAndUp = [tank, car] call BIS_fnc_vectorDirAndUpRelative;

Additional Information

Execution:
call
See also:
BIS_fnc_attachToRelativeBIS_fnc_weaponDirectionRelativevectorDirvectorUpsetVectorDirAndUp
Groups:
Vectors

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.


Bottom Section