Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Car config changes
05-28-2011, 05:07 PM,
#16
 
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, ..)
Reply
05-28-2011, 05:18 PM,
#17
 
Nice! Is it stable enough to add to SVN? I wanna play with it!
Reply
05-29-2011, 04:48 AM,
#18
 
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.
Reply
05-29-2011, 10:37 AM,
#19
 
Will do.
Reply
05-29-2011, 01:03 PM,
#20
 
R3128 crashes when damage is turned on any car any track. I'll revert to 3127 and test that.
Reply
05-29-2011, 02:09 PM,
#21
 
Strange, runs for me under Win7/32bit and Fedora/64bit, gcc4.5. Have you tried to clean/rebuild?
Reply
05-29-2011, 04:33 PM,
#22
 
Works for me, ubuntu 11.04 32-bit.
Reply
05-30-2011, 09:12 AM,
#23
 
Still not working. Crash log: http://pastebin.com/3v5BaKT7
VDrift log: http://pastebin.com/cpDwJ7WC
Reply
05-30-2011, 10:16 AM,
#24
 
Ah, should have asked for the error log in the first place. Try 3129.
Reply
05-30-2011, 11:52 AM,
#25
 
Yep, that fixes it. I'll get back to testing now I've had a play!
Reply
05-30-2011, 01:09 PM,
#26
 
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.
Reply
05-30-2011, 02:44 PM,
#27
 
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.
Reply
05-30-2011, 02:56 PM,
#28
 
Another update 3131. Missed to re-enable align with ground(move car towards ground) functionality. This should fix the f1-02 breakage.
Reply
05-30-2011, 04:02 PM,
#29
 
Road Atlanta still broken, but everything else seems to work so far.
Reply
05-30-2011, 04:13 PM,
#30
 
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)