Getting into scripting:
As said here Cars – Physics scripts it is possible to simulate gearbox damage in cars.
Example:
function script.update(dt)
if car.waterTemperature > 95 then
ac.accessCarPhysics().engineLifeLeft = 0 <- What should this marked text be to make the gearbox go boom and not the engine?
end
end
I can't figure it out, gearboxLifeLeft, gearboxDamage...nothing works so far.
As said here Cars – Physics scripts it is possible to simulate gearbox damage in cars.
Example:
function script.update(dt)
if car.waterTemperature > 95 then
ac.accessCarPhysics().engineLifeLeft = 0 <- What should this marked text be to make the gearbox go boom and not the engine?
end
end
I can't figure it out, gearboxLifeLeft, gearboxDamage...nothing works so far.