Skip to content

Physics: VehicleSpec ​

In a pack: the physics section of vehicles/<name>.json, the field names the table's first column, any left out keeping the T15's; angles in degrees, speeds in km/h, steerGrip in g, the rest model frame and SI (kg, N, m, s, rpm). In Java: start from VehicleSpec.fromT15(), change it, build(), all SI and radians.

FieldMeaningWhite-box coupe
masskerb mass, kg1500
ix iy izmoments of inertia about the three axes, kg·m²2000 / 2300 / 520
comY comZcentre of mass height and fore-aft position0.48 / 0.05
frontZ rearZthe axles' Z (front negative; their difference is the wheelbase)−1.30 / 1.30
halfTrackhalf the track0.74
radiustyre radius (245/45 R17 ≈ 0.33)0.33
bump droopsuspension travel up and down0.08 / 0.10
springFront/Rear dampFront/Rearper wheel: spring rate N/m, damping N·s/m36000 / 38000, 2700 / 2900
antiRollFront/Rearanti-roll bars22000 / 12000
maxSteerfront wheel lock34°
steerGriptyre side grip (an acceleration)0.95 g
topSpeedtop speed, m/s230 km/h
torqueRpm torqueNmthe torque curve (pairs)V8
idleRpm cutRpm stallRpmidle, cut-off, stall750 / 6300 / 400
starterTorque starterRpmthe starter90 / 250
startFlarethe flare as it fires (rpm above idle): held 0.3 s, then falling back to idle over about a second, a sports car's bark at start-up, heard from the engine's own loops; 0 for none0
preheata diesel's glow time (s); 0 for petrol0
gears reverseGear finalDrivegear ratios, reverse, final drive5-speed manual
clutchTorquethe torque the clutch carries600
automatican automatic: it picks its forward gears; the shift keys become paddles that hold a gear for 6 sfalse
allWheelall-wheel drive all the time (no transfer case; the drive split by the wheels' loads)false
tractionControltraction control: the throttle eased while a driven wheel spinsfalse
stabilityControlstability control: the tail sliding out takes the throttle off and brakes the outer front wheelfalse
electricParkingBrakean electric parking brake: pulled while moving it brakes all four wheels with ABS, no rear wheels locked; standing it holds as usual. The speedometer reads all four wheelsfalse
fourWheelSpeedthe top speed for engaging 4WD; 0: rear drive only, no transfer case0
lowRange lowRangeSpeedlow-range ratio and its speed limit (1 and 0 for rear drive)1 / 0
brakeForce brakeFronttotal brake force, front share16000 / 0.62
rolling dragrolling resistance, air drag0.013 / 0.45
fuelPerKwh fuelIdlefuel use0.30 / 0.8
hullthe body's contact points (rolling over, walls, other vehicles); see belowboxHull(...)

In a pack "hull": {"box": [halfWidth, frontZ, rearZ, bottom, belt, cabinHalfWidth, cabinFrontZ, cabinRearZ, roof]} (Java: VehicleSpec.boxHull(...), the same nine) makes one: the lower body a box, the cabin a smaller box on it.