Re: solution for cars behaving strangly when they get airborn on a curb or hill
Christos Dimitrakakis <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
| First of all, i reverted back to the original wheel.cpp. I did leave one
| line in wheel.cpp:
| if (max_extend < new_susp_x) {
| new_susp_x = max_extend;
| wheel->rel_vel = 0.0f;
| } else if (new_susp_x < wheel->susp.spring.packers) {
| /////////////////////test////////////////////
| new_susp_x = wheel->susp.spring.packers;
| //////////////////////////////////////////////////////
| wheel->rel_vel = 0.0f;
| }
| (Correct me if i am wrong,) new_susp_x should never be beyond the
| limits of the suspension course.
Yes, this is already fixed in simuv3.
OK. These seem to work fine.
I will do some more testing. Do you have an example car where the
problem appeared?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFKS2NqyBv6kELa61sRAgS8AJ0fk351J7/wAKfa0tOu0R+BZ9/ehgCfXGJh
VXMvpyqDRhcuuwBIr8/zqhA=
=VeOO
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------