simuv3 collision stabilisation

Christos Dimitrakakis <[email protected]> Sun, 15 Feb 2009 14:07:24 +0100
Newsgroups gmane.games.torcs.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The current main torcs CVS now has a much more stable simuv3 collision
code.  It turned out that, when the car was at extreme angles, sometimes
the wheel/suspension force calculation would overflow.  I still must
look into why this happens, but for now I am just checking for nans.
This is sufficient to make the code work OK.

The collision with the floor is also now handled gracefully, although
the simulation is still a bit rough. However, if your suspension is too
soft, prepare for problems :)

The changes are in the CVS, please test.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmBOMyBv6kELa61sRAjuLAJ9hdJbkjNRl+MWaeV1VYOaTLOg44QCeMhfu
hATIknFO/CGFrP2u7/AAbKM=
=w6DV
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H