Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
elchtest mod :)
03-08-2010, 11:24 PM,
#51
 
sebiastisch Wrote:I have also no idea, what the parameters in setcontact are for. the tread f.e. isn't even used and the road frequency thing also makes only problems.

CAR::SetWheelContactProperties takes these arguments:
* wheel_index: which wheel we're talking about
* wheelheight: {the vector pointing from {the position where the tire patch would touch the road if the suspension were deflected as far as needed to cause the tire to touch the ground} to {the center of the wheel's current position based on the current suspension displacement} } dot product with {the average direction of suspension displacement}
* position: the position where the tire patch would touch the road if the suspension were deflected as far as needed to cause the tire to touch the ground

The rest of the parameters are just surface information about the road object and don't have much to do with the collision itself:

* normal: the surface normal of the road object
* bumpwave: the wavelength of an additional bump surface that displaces the top of the road object
* bumpamp: the amplitude of an additional bump surface that displaces the top of the road object (this and bumpwave are used to simulate bouncy offroad conditions without having to model the bumps with track geometry)
* frict_no: a friction coefficient multiplier to be used with tires that have no tread on this road object
* frict_tread: a friction coefficient multiplier to be used with tires that have tread on this road object (this an frict_no are used to very roughly simulate how tires with a lot of tread don't do well on some surfaces but do well on others, and vice versa)
* roll_res: the rolling resistance of the road object
* roll_drag: the rolling drag of the road object
* surface: the type of surface. This is used to determine what kind of sound to play when driving over the surface.
Reply


Messages In This Thread
elchtest mod :) - by NaN - 02-04-2010, 12:04 PM
[No subject] - by NaN - 02-04-2010, 01:01 PM
[No subject] - by NaN - 02-04-2010, 02:16 PM
[No subject] - by nomoo - 02-04-2010, 02:41 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-05-2010, 11:29 AM
[No subject] - by NaN - 02-05-2010, 11:39 AM
[No subject] - by NaN - 02-05-2010, 01:10 PM
[No subject] - by NaN - 02-05-2010, 04:15 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-06-2010, 12:25 AM
[No subject] - by NaN - 02-10-2010, 08:37 AM
[No subject] - by NaN - 02-10-2010, 11:25 AM
[No subject] - by portets - 02-10-2010, 06:58 PM
[No subject] - by NaN - 02-10-2010, 07:36 PM
[No subject] - by portets - 02-10-2010, 08:19 PM
[No subject] - by NaN - 02-20-2010, 05:47 PM
[No subject] - by CrystalH - 02-21-2010, 12:52 PM
[No subject] - by NaN - 02-21-2010, 01:45 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-22-2010, 02:01 AM
[No subject] - by sebiastisch - 02-22-2010, 10:45 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-22-2010, 11:22 AM
[No subject] - by sebiastisch - 02-22-2010, 12:02 PM
[No subject] - by NaN - 02-22-2010, 12:56 PM
[No subject] - by sebiastisch - 02-22-2010, 01:00 PM
[No subject] - by NaN - 02-22-2010, 01:09 PM
[No subject] - by sebiastisch - 02-22-2010, 01:14 PM
[No subject] - by NaN - 02-23-2010, 03:38 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-23-2010, 11:20 AM
[No subject] - by NaN - 02-25-2010, 03:47 PM
[No subject] - by NaN - 02-25-2010, 04:50 PM
[No subject] - by sebiastisch - 02-25-2010, 06:43 PM
[No subject] - by NaN - 02-27-2010, 03:24 PM
[No subject] - by sebiastisch - 02-28-2010, 08:24 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-28-2010, 01:46 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-28-2010, 01:56 PM
[No subject] - by NaN - 02-28-2010, 02:04 PM
[No subject] - by NaN - 02-28-2010, 05:57 PM
[No subject] - by sebiastisch - 02-28-2010, 07:20 PM
[No subject] - by sebiastisch - 03-03-2010, 10:10 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-03-2010, 11:39 AM
[No subject] - by sebiastisch - 03-03-2010, 12:43 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-03-2010, 11:29 PM
[No subject] - by sebiastisch - 03-04-2010, 05:08 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-04-2010, 11:42 AM
[No subject] - by sebiastisch - 03-04-2010, 12:43 PM
[No subject] - by NaN - 03-05-2010, 09:17 AM
[No subject] - by NaN - 03-05-2010, 01:44 PM
[No subject] - by sebiastisch - 03-05-2010, 02:25 PM
[No subject] - by sebiastisch - 03-06-2010, 09:19 AM
[No subject] - by NaN - 03-08-2010, 11:28 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-08-2010, 11:11 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-08-2010, 11:24 PM
[No subject] - by sebiastisch - 03-09-2010, 06:55 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-11-2010, 02:00 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-11-2010, 02:05 AM
[No subject] - by sebiastisch - 03-11-2010, 09:43 AM
[No subject] - by sebiastisch - 03-11-2010, 09:45 AM
[No subject] - by NaN - 03-11-2010, 03:04 PM
[No subject] - by sebiastisch - 03-15-2010, 06:50 AM
[No subject] - by NaN - 03-15-2010, 03:26 PM
[No subject] - by sebiastisch - 03-16-2010, 08:13 AM
[No subject] - by NaN - 03-16-2010, 12:50 PM
[No subject] - by sebiastisch - 03-16-2010, 01:15 PM
[No subject] - by NaN - 03-16-2010, 01:30 PM
[No subject] - by sebiastisch - 03-20-2010, 07:38 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-20-2010, 12:10 PM
[No subject] - by NaN - 03-22-2010, 12:19 PM
[No subject] - by sebiastisch - 03-30-2010, 10:37 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)