I wrote:
>
>I found this in thrusters.cpp
>
> void Thruster::setThrottle(float throttle)
> {
> _throttle = Math::clamp(throttle, 0, 1);
> }
>
> Will this prevent a negative value for:
>
> <control-input axis="/controls/engines/engine[0]/boost-control"
> control="THROTTLE"/>
>
> when we get it to work?
>
Another potential pooh trap?
// Returns the input/output range appropriate for the given
// control. Ailerons go from -1 to 1, while throttles are never
// lower than zero, etc...
static float rangeMin(int type);
static float rangeMax(int type);
V.
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d