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

void TA::CarTemplate::SetNumGears (
int   nNumGears  )
 

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

Parameters:
nNumGears
The new value for the number of gears.
See also:
TA::CarTemplate::GetNumGears, TA::CarTemplate::SetGearRatio, TA::CarTemplate::GetGearRatio, TA::CarTemplate::SetDifferentialRatio and TA::CarTemplate::GetDifferentialRatio.



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