Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
physics glitch
02-01-2010, 09:13 AM,
#8
 
Good news, with portets help I was able to track down the bug to CARDYNAMICS:TonguerocessContact().

The bullet code sometimes reports an incorrect collision of the car chassis with bridges. Like car not passing but penetrating the bridge. The bridge mesh is a concave object(means not trivial to check for collisions). I have to look into bullet to make sure it is handled the right way. So no quick solution on this one.

Another topic is the way collisions are resolved in ProcessContact(). It's done by projection + inellastic collision with damping on the torque. I patched it a bit, but it's still not exactly correct. :wink:

Maybe we should go for bullet collision resolution here.

Edit:
Oops, looks like the wheels are causing the problem.
Take a F1 at Laguna Seca and leave the track like this and prepare for take-off Smile :
[Image: bug49w9l.jpg]
You will have wheel overtravel(wheels shooting through your suspension) of about 20 meters. Will try to fix it.
Reply


Messages In This Thread
physics glitch - by portets - 01-30-2010, 08:53 PM
[No subject] - by NaN - 01-31-2010, 04:56 AM
[No subject] - by portets - 01-31-2010, 06:13 AM
[No subject] - by NaN - 01-31-2010, 11:45 AM
[No subject] - by portets - 01-31-2010, 06:49 PM
[No subject] - by portets - 02-01-2010, 06:48 AM
[No subject] - by NaN - 02-01-2010, 07:11 AM
[No subject] - by NaN - 02-01-2010, 09:13 AM
[No subject] - by NaN - 02-01-2010, 12:00 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-01-2010, 11:11 PM
[No subject] - by portets - 02-02-2010, 01:18 AM
[No subject] - by NaN - 02-02-2010, 04:13 AM
Re: physics glitch - by cologne - 02-02-2010, 04:20 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)