Re: Simu v3 Collision Bugfix #1
Christos Dimitrakakis <[email protected]> Mon, 05 Jan 2009 23:42:43 +0100
| Newsgroups | gmane.games.torcs.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here are two patches increasing the surface friction of all barriers. The increases are conservative (from 0.0 to 0.2-0.4) and are done mainly to prevent cars from being able to take turns simply by sliding around the barriers. Anyway, this is only a first step. I think it should be up to the individual track writers to give correct values (now that the simuv3 barrier friction is working properly - I'll backport the fixes to simuv2 once I've finished with simuv3). The surface.xml patch additionally lowers the friction of curbs to 1.0. Again, it is up to individual track owners to fix their curb friction according to what is desired. I am only giving a patch here rather than submitting to CVS directly, since the values are tentative. I have tested all the tracks, however. Christos Dimitrakakis wrote: | Andrew Sumner wrote: | | | Sounds good to me. By the same token, perhaps lowering the default curb | | frictions in data/tracks/surfaces.xml to 1.2 would be a good improvement | | too? 1.4 is a lot higher than most track surfaces & causes cars to get | | OK, I guess it's a good idea to put this as the default. | | PS2. The CollideXYScene friction calculation needs to be fixed in simuv2 | as well. - ------------------------------------------------------------------------------ _______________________________________________ Torcs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJYozjyBv6kELa61sRAk0PAKCa8YqYTPGcLi5xokXVtmrq9Wv9YQCfbd8b huwzKUmcQRXRPQtEC+z/vpk= =LXQm -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Torcs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-devel
track_friction.patch
(text/x-diff, 6.8 KB)
? track_friction.patch ? e-track-1/gunther_dingdongsong_hi.wmv?MSWMExt=.asf ? road/g-track-2/.xvpics Index: aalborg/aalborg.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/aalborg/aalborg.xml,v retrieving revision 1.8 diff -r1.8 aalborg.xml 1479c1479 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 1503c1503 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.3"/> 1527c1527 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.3"/> Index: dirt/dirt-3/dirt-3.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/dirt/dirt-3/dirt-3.xml,v retrieving revision 1.5 diff -r1.5 dirt-3.xml 162c162 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 180c180 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.3"/> 198c198 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> Index: e-track-1/e-track-1.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/e-track-1/e-track-1.xml,v retrieving revision 1.11 diff -r1.11 e-track-1.xml 1171c1171 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.15"/> Index: eroad/eroad.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/eroad/eroad.xml,v retrieving revision 1.9 diff -r1.9 eroad.xml 1227c1227 < <attnum name="friction" val="0.05"/> --- > <attnum name="friction" val="0.4"/> 1245c1245 < <attnum name="friction" val="0.05"/> --- > <attnum name="friction" val="0.4"/> 1265c1265 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.1"/> Index: g-track-1/g-track-1.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/g-track-1/g-track-1.xml,v retrieving revision 1.10 diff -r1.10 g-track-1.xml 805c805 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 828c828 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.4"/> Index: oval/michigan/border-dirt.rgb =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/oval/michigan/border-dirt.rgb,v retrieving revision 1.1 diff -r1.1 border-dirt.rgb Binary files /tmp/cvsK0KqLQ and border-dirt.rgb differ Index: oval/michigan/michigan.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/oval/michigan/michigan.xml,v retrieving revision 1.1 diff -r1.1 michigan.xml 116c116 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.3"/> 138c138 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.3"/> 217c217 < <attnum name="friction" val="0.05"/> --- > <attnum name="friction" val="0.2"/> Index: road/alpine-1/alpine-1.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/road/alpine-1/alpine-1.xml,v retrieving revision 1.11 diff -r1.11 alpine-1.xml 113c113 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.5"/> Index: road/forza/forza.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/road/forza/forza.xml,v retrieving revision 1.1 diff -r1.1 forza.xml 79c79 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> Index: road/g-track-2/g-track-2.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/road/g-track-2/g-track-2.xml,v retrieving revision 1.9 diff -r1.9 g-track-2.xml 1725c1725 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 1743c1743 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 1760c1760 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> Index: road/g-track-3/g-track-3.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/road/g-track-3/g-track-3.xml,v retrieving revision 1.8 diff -r1.8 g-track-3.xml 2249c2249 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 2267c2267 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 2285c2285 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.5"/> 2303c2303 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 2320c2320 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 2338c2338 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> Index: road/ruudskogen/ruudskogen.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/road/ruudskogen/ruudskogen.xml,v retrieving revision 1.3 diff -r1.3 ruudskogen.xml 268c268 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> Index: road/street-1/street-1.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/road/street-1/street-1.xml,v retrieving revision 1.3 diff -r1.3 street-1.xml 358c358 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 381c381 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 405c405 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> Index: road/wheel-2/wheel-2.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/tracks/road/wheel-2/wheel-2.xml,v retrieving revision 1.1 diff -r1.1 wheel-2.xml 35c35 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/>
surface_friction.patch
(text/x-diff, 1.1 KB)
? surface_friction.patch Index: surfaces.xml =================================================================== RCS file: /cvsroot/torcs/torcs/torcs/data/data/tracks/surfaces.xml,v retrieving revision 1.20 diff -r1.20 surfaces.xml 414c414 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 436c436 < <attnum name="friction" val="0.0"/> --- > <attnum name="friction" val="0.2"/> 458c458 < <attnum name="friction" val="0.4"/> --- > <attnum name="friction" val="0.3"/> 590c590 < <attnum name="friction" val="1.4"/> --- > <attnum name="friction" val="1.0"/> 612c612 < <attnum name="friction" val="1.4"/> --- > <attnum name="friction" val="1.0"/> 634c634 < <attnum name="friction" val="1.4"/> --- > <attnum name="friction" val="1.0"/> 656c656 < <attnum name="friction" val="0.05"/> --- > <attnum name="friction" val="0.3"/> 675c675 < <attnum name="friction" val="0.1"/> --- > <attnum name="friction" val="0.4"/>