BIS_fnc_getPitchBank

From Bohemia Interactive Community
Revision as of 19:42, 3 April 2006 by BIS fnc exportFunctionsToWiki (talk) (Generated by BIS_fnc_exportFunctionsToWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/************************************************************
	Get Pitch and Bank

Parameters: object
Returns: [pitch, bank]

Returns the pitch and bank of an object, in degrees.

Yaw can be found using the getdir command.

Pitch is 0 when the object is level; 90 when pointing straight
up; and -90 when pointing straight down.

Bank is 0 when level; 90 when the object is rolled to the right,
-90 when rolled to the left, and 180 when rolled upside down.

The bank returned by this command is not fully accurate, it
can be off by up to 5% or so (depending on pitch), due to an unknown bug.
************************************************************/


//extract parameters
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section