Code archives/User Input/JoyU() throttle 0-1 converter

This code has been declared by its author to be Public Domain code.

Download source code

JoyU() throttle 0-1 converter by Chroma2002
This is more suited to a flight sim since obviously there's no reverse (reverse thrusters and just take the output and multiply by a negative number).
baseThrust = (JoyU()-1) * -0.5

Comments

Damien Sturdy2004
These lil functions can be quite useful... This one can be done many ways.
Like

BaseThrust=(JoyU()*.5)+.5



Code Archives Forum