Library globals

Class globals . aircraft . steering

View source

steering
=============================================================================
Class that implements differential braking depending on rudder position.
Note that this overrides the controls.applyBrakes() wrapper. If you need
your own version, then override it again after the steering.init() call.

SYNOPSIS:
steering.init([<property> [, <threshold>]]);

<property>  ... property path or props.Node hash that enables/disables
brake steering (usually bound to the js trigger button)
<threshold> ... defines range (+- threshold) around neutral rudder
position in which both brakes are applied

EXAMPLES:
aircraft.steering.init("/controls/gear/steering", 0.2);
aircraft.steering.init();

Functions

init

setbrakes