Re: TORCS collisions
David Savinkoff <[email protected]> Thu, 6 Apr 2017 16:25:22 -0600 (MDT)
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_6527020_1534498993.1491517522022 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- David Savinkoff wrote: > Hi, > > 1) > I've noticed that TORCS car recoil after a collision with the fence > causes the car to spin in the wrong direction. > (do a high speed glancing collision with the fence) > > 2) > collisions have to much recoil energy. > Solved. The default for TRK_ATT_REBOUND is 1.0 in torcs/src/modules/track/track3.cpp The default for TRK_ATT_REBOUND is 0.5 in torcs/src/modules/track/track4.cpp This patch sets the rebound to 0.5 in track3.cpp ------=_Part_6527020_1534498993.1491517522022 Content-Type: text/x-patch; name=torcs-1.3.8.rebound.patch Content-Disposition: attachment; filename=torcs-1.3.8.rebound.patch Content-Transfer-Encoding: base64 LS0tIHRvcmNzL3NyYy9tb2R1bGVzL3RyYWNrL3RyYWNrMy5jcHAJMjAxMi0wMi0wOSAxNDozNjoy Ny4wMDAwMDAwMDAgLTA4MDAKKysrIHRvcmNzL3NyYy9tb2R1bGVzL3RyYWNrL3RyYWNrMy5jcHAJ MjAxNy0wNC0wNiAxMzowMzoxMS4wMDAwMDAwMDAgLTA3MDAKQEAgLTExNSw3ICsxMTUsNyBAQAog CWN1clN1cmYtPmtSb3VnaG5lc3MgICAgPSBHZlBhcm1HZXROdW0oVHJhY2tIYW5kbGUsIHBhdGgs IFRSS19BVFRfUk9VR0hULCAoY2hhciopTlVMTCwgMC4wZikgLyAgMi4wZjsKIAljdXJTdXJmLT5r Um91Z2hXYXZlTGVuID0gMi4wICogUEkgLyBHZlBhcm1HZXROdW0oVHJhY2tIYW5kbGUsIHBhdGgs IFRSS19BVFRfUk9VR0hUV0wsIChjaGFyKilOVUxMLCAxLjBmKTsKIAljdXJTdXJmLT5rRGFtbWFn ZSAgICAgID0gR2ZQYXJtR2V0TnVtKFRyYWNrSGFuZGxlLCBwYXRoLCBUUktfQVRUX0RBTU1BR0Us IChjaGFyKilOVUxMLCAxMC4wZik7Ci0JY3VyU3VyZi0+a1JlYm91bmQgICAgICA9IEdmUGFybUdl dE51bShUcmFja0hhbmRsZSwgcGF0aCwgVFJLX0FUVF9SRUJPVU5ELCAoY2hhciopTlVMTCwgMS4w Zik7CisJY3VyU3VyZi0+a1JlYm91bmQgICAgICA9IEdmUGFybUdldE51bShUcmFja0hhbmRsZSwg cGF0aCwgVFJLX0FUVF9SRUJPVU5ELCAoY2hhciopTlVMTCwgMC41Zik7CiAJCiAJY3VyU3VyZi0+ bmV4dCA9IHRoZVRyYWNrLT5zdXJmYWNlczsKIAl0aGVUcmFjay0+c3VyZmFjZXMgPSBjdXJTdXJm Owo= ------=_Part_6527020_1534498993.1491517522022 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ------=_Part_6527020_1534498993.1491517522022 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Torcs-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-users ------=_Part_6527020_1534498993.1491517522022--