I modified the js a bit to have a more comfortable driving and so far it seems to work good.
this is the new init_chassis:
function init_chassis(){
var wheelparam = {
radius: 0.30,
width: 0.20,
suspension_max: 0.1,
suspension_min: -0.05,
suspension_stiffness: 50.0,
damping_compression: 0.06,
damping_relaxation: 0.05,
slip: 2.2,
roll_influence: 0.1,
rotation: -1
};
this.add_wheel('wheel_FL', wheelparam);
this.add_wheel('wheel_FR', wheelparam);
this.add_wheel('wheel_RL', wheelparam);
this.add_wheel('wheel_RR', wheelparam);
return {mass:1500, steering:2.0, steering_ecf:60, centering: 2.6, centering_ecf:20};
}
I'm also experimenting a bit at adding the engine sound, but getting the pitch right is not so easy.
Also, i'm not aware of any free sound for that. I'm using some from rFactor but obviously those aren't redistributable.