Hello,
look at
create_car function.
You can find that car is approximated with a box, wheels by sphere.
Each have a mass.
Each wheel is moved after creation it will be the final place (after being fixed by a joint).
gear ratio is defined in
Code:
dReal gears[]={-0.4,0.4,0.6,0.8,0.9,1.0};
global var and gear
gear usage is disabled but still there
Code:
// raydium_ode_motor_power_max_name("moteur",0.1);
// raydium_ode_motor_gears_set_name("moteur",gears,6);
// raydium_ode_motor_gear_change_name("moteur",gear);
An engine is there you can give his max power.
For the rest it is more complicated.
Ode doesn't natively support tork curve.
If you want to simulate this you have to read back engine speed and adapt motor power from the curve. You can do this at each timestep if you want.
Maniadrive is a big application, you can try with test8 (tank physic ;D) or test6, kinghill have a good car model that you can use.
Have a nice day
Ouille.