Forums

Full Version: Car config changes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Only an update video for now: http://www.youtube.com/watch?v=-nyXzHHYlqA

I am able to attach an arbitrary number of bodies to the car. I am not really happy with the current implementation tough. Need to make it more generic. We could support per body aerodynamics and collision sounds/materials.

By the way, the config files are getting somewhat complex.
Code:
[wing.front]
frontal-area = 0.20
drag-coefficient = 0.5
surface-area = 1.00            # including body downforce; 0.7
lift-coefficient = -2
efficiency = 0.99
texture = body00.png, body-misc1.png
mesh = wing_front.joe
position = 0.0, 2.25, -0.44
mass = 20

[wing.front.shape.box.0]
center = 0.0, 0.0, 0.0
size = 0.6, 1.25, 0.28

[wing.front.link]
strength = 1000
elastic-limit = 1000
I've been thinking about separating the common settings(body, model, link, aero, ..)
Nice! Is it stable enough to add to SVN? I wanna play with it!
I've pushed the changes to trunk, tested with F1-02 and FE on paulricard88 and road_atlanta. Would be great if you could test on other tracks.
Will do.
R3128 crashes when damage is turned on any car any track. I'll revert to 3127 and test that.
Strange, runs for me under Win7/32bit and Fedora/64bit, gcc4.5. Have you tried to clean/rebuild?
Works for me, ubuntu 11.04 32-bit.
Still not working. Crash log: http://pastebin.com/3v5BaKT7
VDrift log: http://pastebin.com/cpDwJ7WC
Ah, should have asked for the error log in the first place. Try 3129.
Yep, that fixes it. I'll get back to testing now I've had a play!
F1-02 is the only car that's works with damage on, others crash the game.
Road Atlanta crashes with any settings.

On some tracks the rear wing fall off when the car spawns, I guess that the starting position is to high or something.
Excellent work Timo6. Can you retest with 3130?

Quote:On some tracks the rear wing fall off when the car spawns, I guess that the starting position is to high or something.
The car wheel rays have a maximum length of 4 meters. Would be great if you note the track down on which it happens. I'll fix the positions then.
Another update 3131. Missed to re-enable align with ground(move car towards ground) functionality. This should fix the f1-02 breakage.
Road Atlanta still broken, but everything else seems to work so far.
Quote:Road Atlanta still broken
I've tried F1-02, FE damage on/off practice/race using latest data. No crashes. Do you have an error log, does it segfault?
Pages: 1 2 3