MIST getPitch

From DCS World Wiki - Hoggitworld.com
Revision as of 22:59, 13 April 2018 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


mist.getPitch

Added with: Mist 1.0
Description
Returns the value of the specified unit pitch in radians
Syntax
number mist.getPitch(Unit unit )
Valid Input Values:
unit = Unit Object
Return value:
number
Return example:
0.17
Usage Examples:

do

local myUnit = Unit.getByName('unitsName')
local pitch = mist.getPitch(myUnit)

end

Notes:
Related Functions
getHeading, getNorthCorrection, getAttitude, getPitch, getRoll, getYaw, getAoA, getClimbAngle, getDir

Scripting Engine

MIST Root Page