Game Development Community

Can anybody help me to avoid excesive tires bouncing in my bike?

by Corin · in Torque Game Engine · 05/13/2005 (12:50 pm) · 1 replies


#1
05/13/2005 (12:50 pm)
You could always use the tried and true, mess with it until it works technique. Here's my version.
1. SAVE your un-tainted file.
2. Change different numbers around, recompile and test.
3. If you screw up, revert to the saved file.
4. If you dont screw up, success!

I'm actually not sure how to get the tires to bounce, I wish I could help you more in that area, but I'm sure it could just use a good tweaking here and there til you find out what exactly is doing it, torque is a very springy engine when it comes to vehicle dynamics and movement, but I havent had enough experience with the torque engine specifically to help you out any more than that.

I'd try these areas first.

// Spring that generates lateral tire forces
lateralForce = 2000;
lateralDamping = 1500;
lateralRelaxation = 0.1;

datablock WheeledVehicleSpring(FrontSpring)
{
// Wheel suspension properties
length = 0.028; // Suspension travel 0.06
force = 41750; // Spring force 1200 13750 21750
damping = 0; // Spring damping 600
antiSwayForce = 10000; // Lateral anti-sway force 13000
};