Description
Returns current rate of how much the weapon view is distorted because of quick aiming.
Syntax
weaponInertia unit
Parameters:
unit: Object
Returns: Array with [x, y]
- x: Number - Amount of x-axis sway
- y: Number - Amount of y-axis sway
Examples
Example 1
_inertia = weaponInertia player; //[-0.0126307,0.038023]