Skip to navigation

Aviator on the BBC Micro

Flight model: axisChangeRate

Name: axisChangeRate [Show more] Type: Variable Category: Flight model Summary: Stores the amount by which the three axes of movement change when the aileron, elevator or rudder are moved
Context: See this variable in context in the source code References: This variable is used as follows: * UpdateFlightModel (Part 1 of 4) uses axisChangeRate

If an axis control key is held down (e.g. dive, yaw left, roll right and so on), then it will change that axis value by 1 in the relevant direction (by updating elevatorPosition, rudderPosition or aileronPosition). If the key is held down, then after six calls to UpdateFlightModel without the key being released, the relevant control is fully engaged, and the rate of change increases to 4 in the relevant direction.
.axisChangeRate EQUB 0 \ The rate of change of the elevator (pitch) EQUB 0 \ The rate of change of the rudder (yaw) EQUB 0 \ The rate of change of the aileron (roll) EQUB 0 \ This byte appears to be unused