From: Constantin P. <con...@ru...> - 2007-12-17 14:24:36
|
Joerg Henrichs schrieb: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > > I just enabled a first implementation of 'triangle specific' friction > handling, and therefore skidding. I am using a simplified approach (as > opposed to the correct but rather complicated way) recommended by Erwin. > We should see if this is good enough for what we want to do. > > Instructions: all karts have a friction slip value of 10000000 (based on > the settings in the bullet kart demo, I don't know what oder of > magnitude this value should be). This value is now multiplied by the > friction value (taken from the materials.dat file) of the triangle the > kart is on (atm all four wheels are always on the same material, > determined by the center of the kart) to give the actual friction slip > used for the kart. > > The value of 10E6 for friction slip is very high, and I would assume > that for better friction feeling a lower value should be set. But this > needs some tuning I guess, I don't have any experience with proper > values here. > > I set the friction of 'sand' to be 0.0000001 (see materials.dat), so > that the resulting friction slip is 1.0 on sand, which lets the kart > skid a bit when turning on sand (e.g. race track, beach). > > Please play with the values, e.g. perhaps reduce the friction slip for > the karts till it feels 'right' when driving on the track, and/or change > more friction values of terrain. Avoid a friction value of 0, since the > kart will hardly be able to leave the terrain anymore. > > Ideally, we would be able to reduce some of the shortcuts which are > possible in the tracks by appropriate friction setting ... but not in > all cases I guess (e.g. race track: just drive straight, the loss of > acceleration due to the reduced friction slip is not big enough, it's > still faster to take the shortcut). > > Enjoy! > Joerg > > > - -- > - ---------------------------------------------------------------- > Joerg Henrichs > Luding Administration > e-mail: jo...@lu... > URL: http://luding.org > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHZn/cLC0mrNKFwF4RAuWNAJ40lsOcx9x9mEjKQCvic8ZHSUnuKQCgkbTQ > HAo++uVCFARNv88do2TTZ1c= > =CvKt > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Supertuxkart-devel mailing list > Sup...@li... > https://lists.sourceforge.net/lists/listinfo/supertuxkart-devel Since I'm currently finished with my kart-individualisation-work and wanted to commit the .tkkf-files tomorrow(forgot my stick at home), I would really enjoy to tweak the friction parameters, too, if you like. |