Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Engine and wheel inertia
07-22-2009, 10:26 PM,
#17
 
Hmm, regarding your statement "I think its getting calculated but isn't getting applied to the body so the next frame assumes the body has already moved": the ApplySuspensionForceToBody function adds to the total_force and total_torque when it calls body.GetForceAtOffset, and then the total_force and total_torque get applied to the body back in ApplyForces.

Could it be that suspension_force_application_point is set to the wheel, but should be set to someplace closer to the center of the car? Or should suspension_force be in a direction other than 0,0,1? As you can see I was experimenting with #defines to do other things but never figured out how it should work.

By the way, if you end up touching up the car tuning, note that the engine inertia fix makes it so the clutch calculations are always running, and so some cars that have clutch friction set too low (CT for example) are pretty much unplayable now because the clutch is always slipping.
Reply


Messages In This Thread
Engine and wheel inertia - by stan.distortion - 07-16-2009, 02:32 PM
[No subject] - by stan.distortion - 07-16-2009, 06:26 PM
[No subject] - by stan.distortion - 07-17-2009, 01:01 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-17-2009, 06:40 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-17-2009, 07:00 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-17-2009, 07:02 PM
[No subject] - by stan.distortion - 07-18-2009, 09:30 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-18-2009, 08:12 PM
[No subject] - by stan.distortion - 07-19-2009, 09:12 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-19-2009, 03:20 PM
[No subject] - by stan.distortion - 07-19-2009, 04:21 PM
[No subject] - by stan.distortion - 07-19-2009, 05:03 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-19-2009, 11:20 PM
[No subject] - by stan.distortion - 07-21-2009, 04:05 PM
[No subject] - by stan.distortion - 07-22-2009, 04:47 PM
[No subject] - by stan.distortion - 07-22-2009, 08:53 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-22-2009, 10:26 PM
[No subject] - by stan.distortion - 07-23-2009, 02:33 AM
[No subject] - by stan.distortion - 07-23-2009, 04:39 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-27-2009, 12:24 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)