Arma 3 Scripting

BIS_fnc_findLookAt

  • Arma 3 v1.00

Function · also in Object Manipulation · Markdown · JSON · original wiki page

Description

Given target location, calculates orientation vectors facing direction

Syntax

[] call BIS_fnc_findLookAt

Parameters:

Returns: Array - In format [Dir Vector, Up Vector]

Function header

The comment at the top of the function's file in the game; this page's description, params, returns come from it.

/*
Author: Nelson Duarte <@Nelson_G_Duarte>

Description:
Given target location, calculates orientation vectors facing direction

Parameter(s):
_this select 0: Object     - The curve

Returns:
Array - In format [Dir Vector, Up Vector]
*/