Forums

Full Version: Cars insta-flip
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In the latest SVN (2861), cars just seem to immediately roll over on their sides and then sit on their backs. Strange...
Looks like a regression. Will fix asap.
It doesn't look like it was caused by the latest changes. The bug happens for certain car/track combinations. Some cars are placed too deep(intersect the track) and will be catapulted into air(suspension + chassis collision). Need to move the suspension simulation into bullet.
There used to be an "AlignCarsWithGround" function to try to make sure the car gets positioned the proper distance above the ground. Perhaps if you added back something similar...?

http://svn.vdrift.net/viewvc.cgi/tags/vd...oot=VDrift
The function is still there and works great most of the time. Not sure why it fails sometimes, have to do some debugging.
I tested F1-02 and this happens on each tracks, I can fly away everywhere !

For me it's not a question of combination car/track, just a problem for some cars.
Quote:I can fly away everywhere
You mean at race start F1-02 will fly away?
Quote:cars just seem to immediately roll over on their sides and then sit on their backs
Just tried F1-02 on rouen, road atlanta, ruudskogen (running latest revision), no problems.
NaN Wrote:You mean at race start F1-02 will fly away?

Not at start race, it happens on collision even at low speed. I fly too much easily in my opinion. That's not realistic.


But I noticed this problem at start race.
This can happen when I leave a game when my car is flying. Then when I start a new race car is rolling over. It happens sometimes even when I close game and restart it.
It's like the game had recorded somewhere a wrong position of the car.
Quote:realistic
Yeah, thats a long-term goal and we are not there yet.

Quote:It's like the game had recorded somewhere a wrong position of the car.
Interesting, will look into it.
The roll over at start bug should be fixed now, has been triggered by not normalized start orientation on some tracks.

I think we should switch to euler angles(degrees) orientations in config files.
NaN Wrote:I think we should switch to euler angles(degrees) orientations in config files.

OK with me.