Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slippery/bumpy surfaces
08-16-2006, 08:59 PM,
#11
 
Road atlanta is correct. If you'll notice, you're looking at a grassy object, so the friction for non-treaded is 0.7 and treaded is 1.0. These are the values for grass from vamos. I'm not sure what values they had for racer. 0.7 may be too high.

To be clear, here's what I did after the addparam commands on road_atlanta (still in the listedit tool):

Code:
set 0 * 10 0.7
set 0 * 11 1.0
set 1 road* 10 1.0
set 1 road* 11 0.9

The first two lines set every single object to have grass-y friction numbers. The second two lines set all objects with texture names of road* (which, for this particular track, happen to be all of the pavement type surfaces) to have asphalt-y friction numbers. The way this works in the code is that every tire's friction numbers, which are computed each physics frame, end up getting multiplied by a friction coefficient. The friction coefficient is determined by:

Code:
surface_friction_coefficient = (1.0 - tread)*non_treaded_friction + tread*treaded_friction

where "tread" is the tread parameter for the tire as defined in the .car file.

Don't set any friction values larger than 1.0. It's possible to do, but don't -- if you're doing this, then you don't understand how it works because it's not really what you want to do.
Reply


Messages In This Thread
Slippery/bumpy surfaces - by thelusiv - 08-16-2006, 08:44 AM
Slippery/bumpy surfaces - by thelusiv - 08-16-2006, 08:44 AM
Re: Slippery/bumpy surfaces - by alex25 - 08-16-2006, 11:37 AM
Re: Slippery/bumpy surfaces - by alex25 - 08-16-2006, 11:37 AM
[No subject] - by clytle374 - 08-16-2006, 12:03 PM
[No subject] - by clytle374 - 08-16-2006, 12:03 PM
[No subject] - by thelusiv - 08-16-2006, 02:03 PM
[No subject] - by thelusiv - 08-16-2006, 02:03 PM
[No subject] - by alex25 - 08-16-2006, 05:35 PM
[No subject] - by alex25 - 08-16-2006, 05:35 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 08:59 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 08:59 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 09:03 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 09:03 PM
[No subject] - by alex25 - 08-16-2006, 09:30 PM
[No subject] - by alex25 - 08-16-2006, 09:30 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 10:31 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 10:31 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 10:40 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 10:40 PM
[No subject] - by alex25 - 08-16-2006, 10:57 PM
[No subject] - by alex25 - 08-16-2006, 10:57 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 11:09 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 11:09 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 11:11 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2006, 11:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)