Jump to navigation Jump to search
- 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.
- Object Manipulation
- object call BIS_fnc_getPitchBank
- object: Object
- Return Value:
- Array of Numbers - format [pitch, bank]
- Example 1: