01-30-2010, 08:53 PM,
|
|
portets
Member
|
Posts: 152
Threads: 12
Joined: Apr 2009
|
|
physics glitch
every once in a while i hit a major physics bug.
once in the F1-02 on a track that i can't remember. once just a few minutes ago in the TC6 on Laguna Seca.
with the tc6 i was on a straight and one wheel just barely tapped the sand and all of a sudden i was stuck in one of those walkways that goes over the track. i was going about 30-40 kmh.
and i didn't just float/fly up there. i just appeared inside of it.
with the f1-02, i was going about 100 kmh and the car flew up in the air. maybe about an eighth mile up. this time i didn't go off of the road at all. and the car was doing insane flips and rolls in the sky. it took a long time to come back down to earth and it never stopped doing flips once it came back.
edit- the f1-02 was with release 2009-6-15. the tc6 just now was with the latest revision as of this bug report
|
|
01-31-2010, 06:13 AM,
|
|
portets
Member
|
Posts: 152
Threads: 12
Joined: Apr 2009
|
|
well as it's a rare bug, you might not get to see me post it for a while, but i'll keep trying.
meanwhile, i uploaded a picture that shows where it happened.
my wheel hit right about where i circled green in the image, then i appeared in the bridge section circled in red.
|
|
01-31-2010, 06:49 PM,
|
|
portets
Member
|
Posts: 152
Threads: 12
Joined: Apr 2009
|
|
well, with the F1-02 on the 2009-6-15 release i didn't leave the track.
but maybe the track i was on had a small bump? after all the F1-02 is lightweight, right?
|
|
02-01-2010, 06:48 AM,
|
|
portets
Member
|
Posts: 152
Threads: 12
Joined: Apr 2009
|
|
it happened again!! but this time i caught it :wink:
this time in sv on laguna. i don't think any wheels touched the sand this time. maybe, i'll try to reproduce it one more time. also happened with the sv an neurburgring an hour back. also underneath a bridge. this bug definitely looks like it has to do with solid objects standing above tracks.
you're lucky i have so much free time. i spent all day trying to expose the bug :lol:
|
|
02-01-2010, 09:13 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Good news, with portets help I was able to track down the bug to CARDYNAMICS: rocessContact().
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 :
You will have wheel overtravel(wheels shooting through your suspension) of about 20 meters. Will try to fix it.
|
|
02-02-2010, 01:18 AM,
|
|
portets
Member
|
Posts: 152
Threads: 12
Joined: Apr 2009
|
|
okay, so no more getting caught in bridges!
but now neurburgring won't load :?
other tracks load fine. and going back to the previous revision fixes it.
Code: INFO: Car loading was successful: T73
vdrift: include/mathvector.h:329: MATHVECTOR<T, 3u> MATHVECTOR<T, 3u>::Normalize() const [with T = double]: Assertion `mag != 0' failed.
SIGABRT detected, releasing the mouse
Aborted
|
|
02-02-2010, 04:20 PM,
|
|
cologne
Member
|
Posts: 203
Threads: 35
Joined: Mar 2007
|
|
Re: physics glitch
portets Wrote:... with the f1-02, i was going about 100 kmh and the car flew up in the air. maybe about an eighth mile up. this time i didn't go off of the road at all. and the car was doing insane flips and rolls in the sky. it took a long time to come back down to earth and it never stopped doing flips once it came back. I found the same behavior driving the f1-02 at higher speed (300km/h) downhill:
Nürburgring, between Flugplatz and Schwedenkreuz, Fuchsröhre
Road Atlanta: downhill before Start
Mosport: behind Clayton Corner and behind Quebec Corner
Australian Countryside: first jump downhill (also 360)
Typical: very long fly in the air, sometimes, when touching the track again, a long slide on the roof or side over hundreds of meters.
vdrift-2009-15-06 imac intel
|
|
|