05-28-2011, 05:07 PM
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.
I've been thinking about separating the common settings(body, model, link, aero, ..)
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