True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

int TA::CarTemplate::GetNumGears (  ) const [inline]
 

Call this function to get the number of gears for the car's transmission. Gear 0 must be reverse so there should be at least 2 gears.

Returns:
The number of gears.
See also:
TA::CarTemplate::SetNumGears, TA::CarTemplate::SetGearRatio, TA::CarTemplate::GetGearRatio, TA::CarTemplate::SetDifferentialRatio and TA::CarTemplate::GetDifferentialRatio.



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.