Constructing algorithm/formula -
i constructing racing simulator , need ideas on how construct formula.
each race have 8 competitors, each , of these designated starting track. track 1 considered best, track 2 next best , on.
however if racer has low value in acceleration , given starting track 1; clear disadvantage there overwhelming risk might trapped , not able finish in strong position.
if racer @ track 1 has average value of acceleration still @ disadvantage if racer @ track 2 possesses higher value.
the participant @ track 8 needs pretty faster other competitors reach lead.
does have ideas on how go construct formula this? i'm looking way think , gladly appreciate input get
if understand right, might formulate this. racing car has acceleration value , starting position (track?). every race consists of amount of laps on track, track has length.
at end of simulation each car finishes time in completed necessary laps. propose offset each car time, depending on starting position. example, position 1 offset +0s, position 2 offset +2s, position 3 offset +4s. introduce sort of 'end speed' or 'total speed' each type of car, can calculate time acceleration, total speed , number of laps times total lenght of track.
Comments
Post a Comment