had to fix ALL missing references and variable settings on all scripts due to unity bug and/or improper save/shutdown. 2+ hours of work just to get back to where we were yesterday sigh
fixed lights to work with scripts. moved car objects to separate layer (ignored by lights/flares) but still not getting flares to work
modified car code to always spawn all sound objects at the driver camera position, so all sounds regardless of life are centered (i.e. don’t sound panned) except for the wheel collider sounds of course. removed previous hack to move audio sources post-initialization via RoadGen as this is now done in car code.
added hook to get car reference, which lets RoadGen interact with the car directly, e.g. kill engine, gas for rolling start, etc.
engine now cuts off if player runs out of “time” (isn’t going fast enough lose condition)
created an engine stall sound (when engine is killed) and coded the option to use it to car settings.
car now brakes to a stop after running out of time.
game over screen now fades in on out-of-time lose condition.