1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
use *;
/// Mesh identifier for procedural skyscraper blocks in `World3D::create_dense_open_world_city`.
pub const DENSE_TOWER_MESH_NAME: &str = "dense_tower";
/// Center X coordinate in meters of the closed-loop coastal city stadium circuit.
pub const CITY_LOOP_CENTER_X: f32 = 64.0;
/// Half-length along Z in meters of the parallel West and East straights of the closed-loop circuit.
pub const CITY_LOOP_STRAIGHT_HALF_Z: f32 = 140.0;
/// Semicircular turn centerline radius in meters of the closed-loop coastal city circuit.
pub const CITY_LOOP_RADIUS: f32 = 64.0;
/// Half-width in meters of the 4-lane asphalt roadway around the closed-loop centerline (`|road_u| <= 10.2`).
pub const CITY_LOOP_ROAD_HALF_WIDTH: f32 = 10.2;
/// Outer edge distance in meters of the curb and tiled sidewalk band around the centerline (`|road_u| <= 13.8`).
pub const CITY_LOOP_SIDEWALK_HALF_WIDTH: f32 = 13.8;
/// Total continuous centerline circumference in meters of the closed-loop circuit (`4 * 140 + 2 * PI * 64`).
pub const CITY_LOOP_TOTAL_LENGTH: f32 = 560.0 + 2.0 * PI * 64.0;
/// Westernmost X extent in meters of the extended closed-loop city ground plane.
pub const CITY_GROUND_X_MIN: f32 = -160.0;
/// Easternmost X extent in meters of the extended closed-loop city and coastal bay ground plane.
pub const CITY_GROUND_X_MAX: f32 = 420.0;
/// Northernmost Z extent in meters of the extended closed-loop city ground plane.
pub const CITY_GROUND_Z_MIN: f32 = -320.0;
/// Southernmost Z extent in meters of the extended closed-loop city ground plane.
pub const CITY_GROUND_Z_MAX: f32 = 320.0;
/// Eastern shoreline X threshold beyond which the open sunlit coastal ocean bay begins.
pub const CITY_EAST_OCEAN_MIN_X: f32 = 144.0;
/// Local-space central high-mounted twin exhaust tip coordinates `[x, y, z]` for Lamborghini supercars.
pub const LAMBORGHINI_EXHAUST_TIPS_LOCAL: = ;
/// Local-space outboard quad dual-pair exhaust tip coordinates `[x, y, z]` for Ford Mustang S650 supercars.
pub const MUSTANG_S650_EXHAUST_TIPS_LOCAL: = ;
/// Human-readable label for `CameraMode3D::Chase`.
pub const CAMERA_LABEL_CHASE: &str = "Chase Dynamic";
/// Human-readable label for `CameraMode3D::Hood`.
pub const CAMERA_LABEL_HOOD: &str = "Close Low Hood";
/// Human-readable label for `CameraMode3D::Cockpit`.
pub const CAMERA_LABEL_COCKPIT: &str = "Cockpit Driver";
/// Human-readable label for `CameraMode3D::Orbit`.
pub const CAMERA_LABEL_ORBIT: &str = "Cinematic Orbit";
/// Human-readable label for `CameraMode3D::Aerial`.
pub const CAMERA_LABEL_AERIAL: &str = "Overhead Helicopter";
/// Human-readable label for `CameraMode3D::FreeFly`.
pub const CAMERA_LABEL_FREE_FLY: &str = "Free Fly";
/// Human-readable label for `CameraMode3D::CinematicDolly`.
pub const CAMERA_LABEL_CINEMATIC_DOLLY: &str = "Cinematic Dolly";
/// Human-readable label for `CameraMode3D::CitySkylinePanorama`.
pub const CAMERA_LABEL_CITY_SKYLINE: &str = "City Skyline";
/// Human-readable label for `CameraMode3D::CityRiverfrontBridge`.
pub const CAMERA_LABEL_CITY_RIVERFRONT: &str = "Riverfront Bridge";
/// Human-readable label for `CameraMode3D::CityDowntownIntersection`.
pub const CAMERA_LABEL_CITY_DOWNTOWN: &str = "Downtown Street";
/// Human-readable label for `CameraMode3D::CityAerialDroneOrbit`.
pub const CAMERA_LABEL_CITY_DRONE: &str = "Aerial Drone Orbit";
/// Human-readable label for `TimeOfDayPreset3D::MorningSunrise`.
pub const TIME_LABEL_MORNING_SUNRISE: &str = "Morning Sunrise";
/// Human-readable label for `TimeOfDayPreset3D::BrightNoon`.
pub const TIME_LABEL_BRIGHT_NOON: &str = "Bright Noon";
/// Human-readable label for `TimeOfDayPreset3D::GoldenSunset`.
pub const TIME_LABEL_GOLDEN_SUNSET: &str = "Golden Sunset";
/// Human-readable label for `TimeOfDayPreset3D::NeonMidnight`.
pub const TIME_LABEL_NEON_MIDNIGHT: &str = "Neon Midnight";
/// Human-readable label for `WeatherPreset3D::ClearSunny`.
pub const WEATHER_LABEL_CLEAR_SUNNY: &str = "Clear Sunny";
/// Human-readable label for `WeatherPreset3D::PartlyCloudy`.
pub const WEATHER_LABEL_PARTLY_CLOUDY: &str = "Partly Cloudy";
/// Human-readable label for `WeatherPreset3D::MistyFog`.
pub const WEATHER_LABEL_MISTY_FOG: &str = "Misty Fog";
/// Human-readable label for `WeatherPreset3D::Rainstorm`.
pub const WEATHER_LABEL_RAINSTORM: &str = "Rainstorm";
/// Default atmospheric preset hour for Morning Sunrise (`6.4`).
pub const ATMOSPHERE_HOUR_SUNRISE: f32 = 6.4;
/// Default atmospheric preset hour for golden-hour Sunset (`0`).
pub const ATMOSPHERE_HOUR_SUNSET: f32 = 17.2;
/// Atmospheric preset hour for cyberpunk Rainy Night (`1`).
pub const ATMOSPHERE_HOUR_RAINY_NIGHT: f32 = 21.4;
/// Atmospheric preset hour for crisp daylight Noon (`2`).
pub const ATMOSPHERE_HOUR_NOON: f32 = 12.5;
/// Atmospheric preset hour for deep neon Midnight (`3`).
pub const ATMOSPHERE_HOUR_MIDNIGHT: f32 = 23.0;
/// Maximum simultaneous ambient Niagara rain streaks in Rainstorm mode.
pub const RAINY_NIGHT_MAX_PARTICLES: usize = 96;
/// Asset name for the sculpted multi-ring volumetric exhaust afterburner flame cone mesh.
pub const EXHAUST_FLAME_CONE_MESH_NAME: &str = "exhaust_afterburner_cone";
/// Scene object name prefix for volumetric exhaust flame cone layers.
pub const EXHAUST_FLAME_OBJ_PREFIX: &str = "exhaust_flame_";
/// Maximum exhaust pipes supported simultaneously across all hero vehicles (quad pipes on Mustang S650).
pub const EXHAUST_MAX_PIPES: usize = 4;
/// Number of layered volumetric flame cones rendered per active exhaust tip (inner core, plasma mid, outer sheath).
pub const EXHAUST_LAYERS_PER_PIPE: usize = 3;
/// Total pre-allocated volumetric exhaust flame cone scene objects (`EXHAUST_MAX_PIPES * EXHAUST_LAYERS_PER_PIPE`).
pub const EXHAUST_TOTAL_FLAME_OBJECTS: usize = EXHAUST_MAX_PIPES * EXHAUST_LAYERS_PER_PIPE;
/// Maximum active Niagara particles allowed when emitting continuous boost afterburner plumes.
pub const EXHAUST_BOOST_MAX_PARTICLES: usize = 240;
/// Maximum active Niagara particles allowed when emitting idle/cruise translucent exhaust vapor.
pub const EXHAUST_VAPOR_MAX_PARTICLES: usize = 64;
/// Sustained equilibrium nitro/turbo reserve plateau during continuous Shift overdrive boost (never drains to zero).
pub const VEHICLE_BOOST_SUSTAIN_CHARGE: f32 = 0.86;
/// Exponential spool-up rate per second for smooth Shift turbocharger build-up.
pub const VEHICLE_BOOST_SPOOL_UP_RATE: f32 = 4.8;
/// Exponential spool-down rate per second when releasing Shift boost.
pub const VEHICLE_BOOST_SPOOL_DOWN_RATE: f32 = 4.2;
/// Exponential approach rate per second for the live overdrive gauge plateau while boosting.
pub const VEHICLE_BOOST_GAUGE_APPROACH_RATE: f32 = 2.4;
/// Natural aerodynamic overspeed bleed coefficient per second above normal top speed after releasing Shift.
pub const VEHICLE_OVERSPEED_AERO_BLEED: f32 = 0.45;
/// Duration in seconds of crisp off-throttle lift or upshift exhaust backfire pop bursts.
pub const VEHICLE_BACKFIRE_DURATION_SECS: f32 = 0.22;
/// Minimum continuous stalled duration in seconds below `NPC_STUCK_SPEED_MPS` before triggering 3-point reverse unstick recovery.
pub const NPC_STUCK_TRIGGER_SECS: f32 = 0.75;
/// Speed threshold in meters per second below which an intending-to-move NPC accumulates `stuck_timer`.
pub const NPC_STUCK_SPEED_MPS: f32 = 1.2;
/// Duration in seconds of the active Ackermann reverse-and-turn unstick maneuver.
pub const NPC_UNSTICK_REVERSE_SECS: f32 = 1.4;
/// Target reverse speed in meters per second during active 3-point unstick recovery.
pub const NPC_UNSTICK_REVERSE_SPEED_MPS: f32 = -6.5;
/// Active Ackermann reverse steering yaw rate magnitude in radians per second during unstick recovery.
pub const NPC_UNSTICK_YAW_RATE_RAD_S: f32 = 1.85;
/// Duration in seconds to hold a verified obstacle-free escape heading after reversing clear of a wall.
pub const NPC_ESCAPE_HOLD_SECS: f32 = 1.35;
/// Near obstacle feeler probe distance in meters for the 5-ray NPC avoidance fan.
pub const NPC_FEELER_NEAR_M: f32 = 3.5;
/// Far obstacle feeler probe distance in meters for the 5-ray NPC avoidance fan.
pub const NPC_FEELER_FAR_M: f32 = 9.5;
/// Five-ray obstacle feeler heading offsets in radians (`-55°, -25°, 0°, +25°, +55°`).
pub const NPC_FEELER_ANGLES_RAD: =
;
/// Eight candidate forward escape heading offsets in radians (`±35°, ±70°, ±105°, ±140°`) scanned after reverse unstick.
pub const NPC_ESCAPE_CANDIDATE_ANGLES_RAD: = ;
/// Six-speed gearbox upshift speed thresholds in meters per second for realistic RPM and shift backfire pops.
pub const VEHICLE_GEAR_THRESHOLDS_MPS: = ;
/// Scene object name prefix for neon overhead arch glows dynamically scaled by time of day.
pub const CITY_OBJ_ARCH_GLOW_PREFIX: &str = "arch_glow_";
/// Scene object name prefix for neon streetlamp heads dynamically scaled by time of day.
pub const CITY_OBJ_LAMP_HEAD_PREFIX: &str = "lamp_head_";
/// Car camera cycle order for the `C` key (`Chase`, `Hood`, `Cockpit`, `Orbit`, `Aerial`).
pub const CAR_CAMERA_CYCLE: = ;
/// Asset name for the sculpted multi-spoke rotating wheel mesh for Lamborghini supercars.
pub const WHEEL_MESH_LAMBORGHINI: &str = "wheel_lamborghini_spoke";
/// Asset name for the sculpted multi-spoke rotating wheel mesh for Mustang S650 supercars.
pub const WHEEL_MESH_MUSTANG: &str = "wheel_mustang_spoke";
/// Asset name for the sculpted multi-spoke rotating wheel mesh for NPC executive sedans.
pub const WHEEL_MESH_NPC_SEDAN: &str = "wheel_npc_sedan_spoke";
/// Asset name for the sculpted multi-spoke rotating wheel mesh for NPC sport coupes.
pub const WHEEL_MESH_NPC_COUPE: &str = "wheel_npc_coupe_spoke";
/// Asset name for the sculpted multi-spoke rotating wheel mesh for NPC luxury SUVs.
pub const WHEEL_MESH_NPC_SUV: &str = "wheel_npc_suv_spoke";
/// Scene object name prefix for dynamic rotating player vehicle wheels.
pub const PLAYER_WHEEL_OBJ_PREFIX: &str = "player_wheel_";
/// Scene object name prefix for dynamic rotating NPC vehicle wheels.
pub const NPC_WHEEL_OBJ_PREFIX: &str = "npc_wheel_";
/// Maximum physical front-wheel steering angle magnitude in radians (`~27.5 degrees`).
pub const VEHICLE_MAX_FRONT_STEER_RAD: f32 = 0.48;
/// Exponential smoothing rate per second for front-wheel steering actuation.
pub const VEHICLE_FRONT_STEER_RESP_RATE: f32 = 16.0;
/// City camera cycle order for the `K` key (`Skyline`, `Riverfront`, `Downtown`, `Drone Orbit`).
pub const CITY_CAMERA_CYCLE: = ;
/// Asset name for instanced Vice Boulevard coastal palm trees.
pub const CITY_PALM_MESH_NAME: &str = "vice_palm_tree";
/// Asset name for distant skyline silhouette towers framing the horizon.
pub const CITY_SKYLINE_MESH_NAME: &str = "skyline_silhouette";
/// Asset name for coastal seawall parapet segments enclosing the city island.
pub const CITY_SEAWALL_MESH_NAME: &str = "coastal_seawall";
/// Asset name for the surrounding animated liquid ocean boundary mesh.
pub const CITY_OCEAN_MESH_NAME: &str = "coastal_ocean_water";
/// Asset name for the closed-loop boulevard road ground mesh.
pub const CITY_GROUND_MESH_NAME: &str = "wet_asphalt_boulevard";
/// Scene object name for the primary ground surface.
pub const CITY_GROUND_OBJ_NAME: &str = "city_ground";
/// Asset name for retroreflective road lane studs.
pub const CITY_LANE_STUD_MESH_NAME: &str = "lane_stripe";
/// Asset name for generic structural unit box geometry.
pub const CITY_UNIT_BOX_MESH_NAME: &str = "city_skyscraper";
/// Asset name for glowing architectural accent trim boxes.
pub const CITY_NEON_SIGN_MESH_NAME: &str = "neon_sign";
/// Asset name for Archetype 1 Art-Deco stepped setback tower.
pub const CITY_MESH_ART_DECO: &str = "building_art_deco";
/// Asset name for Archetype 2 chamfered octagonal glass tower.
pub const CITY_MESH_CHAMFERED: &str = "building_chamfered_glass";
/// Asset name for Archetype 3 twisted tapering futuristic spire.
pub const CITY_MESH_TWISTED: &str = "building_twisted_spire";
/// Asset name for Archetype 4 cantilevered contemporary tech tower.
pub const CITY_MESH_CANTILEVER: &str = "building_cantilever_tech";
/// Asset name for Archetype 5 cylindrical landmark glass tower.
pub const CITY_MESH_CYLINDER: &str = "building_cylindrical_landmark";
/// Asset name for Archetype 6 boutique neo-classical boulevard podium block.
pub const CITY_MESH_BOUTIQUE: &str = "building_boutique_podium";
/// Asset name for the Lamborghini Aventador SVJ hero supercar mesh.
pub const CITY_MESH_AVENTADOR: &str = "hero_aventador_svj";
/// Asset name for the Ford Mustang Shelby GT500 Cobra hero supercar mesh.
pub const CITY_MESH_SHELBY: &str = "hero_shelby_cobra";
/// Asset name for the sculpted wheel-less NPC executive sedan mesh.
pub const CITY_MESH_NPC_SEDAN: &str = "npc_sculpted_sedan";
/// Asset name for the sculpted wheel-less NPC sport coupe mesh.
pub const CITY_MESH_NPC_COUPE: &str = "npc_sculpted_coupe";
/// Asset name for the sculpted wheel-less NPC luxury SUV mesh.
pub const CITY_MESH_NPC_SUV: &str = "npc_sculpted_suv";
/// Scene object name for the drivable player hero vehicle.
pub const CITY_OBJ_PLAYER_CAR: &str = "player_gt_car";
/// Half-width in meters of the solid coastal Vice Boulevard city island along X (`[-52, +52]`).
pub const CITY_ISLAND_HALF_X: f32 = 52.0;
/// Northernmost Z bound in meters of the solid coastal Vice Boulevard city island.
pub const CITY_ISLAND_Z_MIN: f32 = -110.0;
/// Southernmost Z bound in meters of the solid coastal Vice Boulevard city island.
pub const CITY_ISLAND_Z_MAX: f32 = 82.0;
/// Vertical world elevation in meters of the surrounding liquid ocean water surface below the island deck.
pub const CITY_OCEAN_SURFACE_Y: f32 = -0.34;
/// Horizontal span in meters of the surrounding liquid ocean surface extending to the horizon on all sides.
pub const CITY_OCEAN_SPAN_M: f32 = 1_400.0;
/// Live-Link JSON delta discriminator for node transform updates.
pub const LIVE_DELTA_KIND_TRANSFORM: &str = "node_transform";
/// Live-Link JSON delta discriminator for Principled BSDF material updates.
pub const LIVE_DELTA_KIND_MATERIAL: &str = "material_params";
/// Live-Link JSON delta discriminator for shape-key morph weight updates.
pub const LIVE_DELTA_KIND_MORPH: &str = "morph_weights";
/// Live-Link JSON delta discriminator for punctual or area light updates.
pub const LIVE_DELTA_KIND_LIGHT: &str = "light_update";
/// Live-Link JSON delta discriminator for camera pose updates.
pub const LIVE_DELTA_KIND_CAMERA: &str = "camera_update";
/// Live-Link JSON delta discriminator for Blender Collection visibility toggles.
pub const LIVE_DELTA_KIND_COLLECTION: &str = "collection_visibility";
/// Live-Link JSON delta discriminator for IBL environment updates.
pub const LIVE_DELTA_KIND_ENVIRONMENT: &str = "environment_update";
/// JSON field key for delta discriminator.
pub const LIVE_KEY_KIND: &str = "kind";
/// JSON field key for target node name.
pub const LIVE_KEY_NODE_NAME: &str = "node_name";
/// JSON field key for translation array.
pub const LIVE_KEY_TRANSLATION: &str = "translation";
/// JSON field key for rotation quaternion array.
pub const LIVE_KEY_ROTATION: &str = "rotation";
/// JSON field key for scale array.
pub const LIVE_KEY_SCALE: &str = "scale";
/// JSON field key indicating Blender Z-up coordinate space.
pub const LIVE_KEY_BLENDER_Z_UP: &str = "blender_z_up";
/// JSON field key for target material name.
pub const LIVE_KEY_MATERIAL_NAME: &str = "material_name";
/// JSON field key for base color RGBA factor.
pub const LIVE_KEY_BASE_COLOR: &str = "base_color_factor";
/// JSON field key for metallic scalar.
pub const LIVE_KEY_METALLIC: &str = "metallic_factor";
/// JSON field key for roughness scalar.
pub const LIVE_KEY_ROUGHNESS: &str = "roughness_factor";
/// JSON field key for clearcoat factor.
pub const LIVE_KEY_CLEARCOAT: &str = "clearcoat_factor";
/// JSON field key for clearcoat roughness scalar.
pub const LIVE_KEY_CLEARCOAT_ROUGHNESS: &str = "clearcoat_roughness_factor";
/// JSON field key for sheen RGB tint.
pub const LIVE_KEY_SHEEN_COLOR: &str = "sheen_color_factor";
/// JSON field key for sheen roughness scalar.
pub const LIVE_KEY_SHEEN_ROUGHNESS: &str = "sheen_roughness_factor";
/// JSON field key for emissive RGB color.
pub const LIVE_KEY_EMISSIVE: &str = "emissive_factor";
/// JSON field key for HDR emissive strength.
pub const LIVE_KEY_EMISSIVE_STRENGTH: &str = "emissive_strength";
/// JSON field key for transmission factor.
pub const LIVE_KEY_TRANSMISSION: &str = "transmission_factor";
/// JSON field key for morph target weights array.
pub const LIVE_KEY_WEIGHTS: &str = "weights";
/// JSON field key for light index.
pub const LIVE_KEY_LIGHT_INDEX: &str = "light_index";
/// JSON field key for light color RGB.
pub const LIVE_KEY_COLOR: &str = "color";
/// JSON field key for light or environment intensity.
pub const LIVE_KEY_INTENSITY: &str = "intensity";
/// JSON field key for light or camera position.
pub const LIVE_KEY_POSITION: &str = "position";
/// JSON field key for light direction.
pub const LIVE_KEY_DIRECTION: &str = "direction";
/// JSON field key for camera pitch.
pub const LIVE_KEY_PITCH: &str = "pitch";
/// JSON field key for camera vertical FOV degrees.
pub const LIVE_KEY_FOV_DEG: &str = "fov_deg";
/// JSON field key for collection name.
pub const LIVE_KEY_COLLECTION_NAME: &str = "collection_name";
/// JSON field key for visibility toggle.
pub const LIVE_KEY_VISIBLE: &str = "visible";
/// JSON field key for environment Y rotation in radians.
pub const LIVE_KEY_ROTATION_Y_RAD: &str = "rotation_y_rad";
/// Error message returned when Live-Link delta JSON lacks a valid discriminator.
pub const ERR_LIVE_DELTA_UNKNOWN_KIND: &str = "unknown or missing live delta kind";
/// Default Blender imported mesh prefix for unnamed primitives.
pub const BLENDER_IMPORTED_NODE_FALLBACK: &str = "blender_node";
/// Default octahedral resolution for auto-baked procedural sky IBL.
pub const WORLD_DEFAULT_IBL_OCT_SIZE: u32 = 32;
/// Default BRDF LUT resolution for auto-baked procedural sky IBL.
pub const WORLD_DEFAULT_IBL_LUT_SIZE: u32 = 32;
/// Maximum linear displacement per continuous collision detection substep in meters (smaller than thinnest lamp pole).
pub const COLLISION_CCD_MAX_STEP_M: f32 = 0.12;
/// Maximum continuous collision detection linear substeps per simulation tick preventing tunneling at arbitrary speeds.
pub const COLLISION_CCD_MAX_SUBSTEPS: usize = 512;
/// Maximum yaw rotation step per continuous collision detection substep in radians.
pub const COLLISION_ROT_MAX_STEP_RAD: f32 = 0.06;
/// Maximum continuous collision detection rotation substeps per simulation tick.
pub const COLLISION_ROT_MAX_SUBSTEPS: usize = 32;
/// Maximum iterative horizontal minimum-translation-vector depenetration passes per vehicle tick.
pub const COLLISION_MTV_MAX_ITERS: usize = 6;
/// Safety separation bias in meters added to horizontal minimum-translation-vector push-out to clear floating-point contact ties.
pub const COLLISION_MTV_PUSH_EPS: f32 = 0.015;
/// Maximum single-step horizontal push-out permitted when resolving steering contact against a wall.
pub const COLLISION_ROT_MAX_PUSH_M: f32 = 0.35;
/// Player supercar base acceleration in meters per second squared.
pub const VEHICLE_NORMAL_ACCEL_MPS2: f32 = 26.5;
/// Additional low-speed launch torque in meters per second squared tapering off with speed.
pub const VEHICLE_LAUNCH_BONUS_MPS2: f32 = 30.0;
/// Velocity decay scale in meters per second for first-gear launch torque taper.
pub const VEHICLE_LAUNCH_TAPER_MPS: f32 = 10.0;
/// Player supercar maximum forward speed without boost in meters per second.
pub const VEHICLE_NORMAL_TOP_SPEED_MPS: f32 = 32.0;
/// Player supercar maximum reverse speed in meters per second.
pub const VEHICLE_REVERSE_TOP_SPEED_MPS: f32 = 16.0;
/// Service braking deceleration in meters per second squared.
pub const VEHICLE_BRAKE_DECEL_MPS2: f32 = 42.0;
/// Nitro boost thrust multiplier applied to forward engine acceleration.
pub const VEHICLE_BOOST_THRUST_MULT: f32 = 1.75;
/// Player supercar maximum forward speed while Shift boost is active in meters per second.
pub const VEHICLE_BOOST_TOP_SPEED_MPS: f32 = 50.0;
/// Passive nitro boost charge regeneration rate per second during normal driving.
pub const VEHICLE_BOOST_REGEN_PER_SEC: f32 = 0.24;
/// Accelerated nitro boost charge regeneration rate per second while powersliding.
pub const VEHICLE_BOOST_DRIFT_REGEN_PER_SEC: f32 = 0.60;
/// Normal lateral tire friction damping rate per second for sharp cornering.
pub const VEHICLE_NORMAL_LAT_GRIP: f32 = 9.5;
/// Reduced rear-axle lateral tire friction rate per second while Space handbrake drift is active.
pub const VEHICLE_DRIFT_LAT_GRIP: f32 = 1.55;
/// Minimum total speed in meters per second required to initiate Space handbrake drift.
pub const VEHICLE_DRIFT_MIN_SPEED_MPS: f32 = 5.0;
/// Minimum forward velocity component in meters per second required to sustain forward drift.
pub const VEHICLE_DRIFT_MIN_FWD_MPS: f32 = 2.0;
/// Base steering yaw rate authority in radians per second during normal grip driving.
pub const VEHICLE_NORMAL_YAW_GAIN: f32 = 2.05;
/// Amplified steering yaw rate authority in radians per second during Space handbrake drift.
pub const VEHICLE_DRIFT_YAW_GAIN: f32 = 2.85;
/// Minimum sustained drift duration in seconds required to earn an exit-drift speed kick.
pub const VEHICLE_DRIFT_EXIT_MIN_SECS: f32 = 0.35;
/// Minimum peak slip angle in radians required to earn an exit-drift speed kick.
pub const VEHICLE_DRIFT_EXIT_MIN_SLIP_RAD: f32 = 0.20;
/// Forward speed surge in meters per second delivered on releasing a sustained powerslide.
pub const VEHICLE_DRIFT_EXIT_KICK_MPS: f32 = 5.5;
/// Linear rolling resistance drag coefficient per second.
pub const VEHICLE_ROLLING_DRAG: f32 = 0.95;
/// Quadratic aerodynamic drag coefficient per meter.
pub const VEHICLE_AERO_DRAG: f32 = 0.018;
/// Simulated chassis mass in kilograms for the player supercar.
pub const VEHICLE_PLAYER_MASS_KG: f32 = 1_500.0;
/// Simulated chassis yaw moment of inertia in kilogram-square-meters for the player supercar.
pub const VEHICLE_PLAYER_INERTIA_YAW: f32 = 3_200.0;
/// Simulated chassis mass in kilograms for dynamic NPC rigid-body vehicles.
pub const VEHICLE_NPC_MASS_KG: f32 = 1_350.0;
/// Simulated chassis yaw moment of inertia in kilogram-square-meters for dynamic NPC vehicles.
pub const VEHICLE_NPC_INERTIA_YAW: f32 = 2_800.0;
/// Coefficient of restitution for car-vs-building rigid-body collisions.
pub const COLLISION_WALL_RESTITUTION: f32 = 0.28;
/// Coulomb wall-scrape tangential friction coefficient for car-vs-building collisions.
pub const COLLISION_WALL_FRICTION: f32 = 0.35;
/// Coefficient of restitution for dynamic car-vs-car rigid-body OBB impacts.
pub const COLLISION_CAR_RESTITUTION: f32 = 0.42;
/// Coulomb tangential friction coefficient for dynamic car-vs-car OBB impacts.
pub const COLLISION_CAR_FRICTION: f32 = 0.30;
/// Maximum angular spin speed in radians per second clamped after rigid-body impulses.
pub const VEHICLE_MAX_YAW_RATE_RAD_S: f32 = 6.5;
/// Maximum dynamic chase camera FOV widen in degrees during nitro boost.
pub const CAMERA_BOOST_FOV_MAX_DEG: f32 = 11.0;
/// Base chase camera field of view in degrees.
pub const CAMERA_BASE_FOV_DEG: f32 = 60.0;
/// Open inner landmark island courtyard plaza loop waypoints `(x, z)` entirely off the asphalt road (`|road_u| > 10.2`).
pub const NPC_INNER_PLAZA_WAYPOINTS: = ;
/// Open west outer urban plaza waypoints `(x, z)` entirely outside the asphalt loop (`|road_u| > 10.2`).
pub const NPC_OUTER_PLAZA_WAYPOINTS: = ;
/// Open cross-courtyard waypoints `(x, z)` weaving through inner landmark island plazas (`|road_u| > 10.2`).
pub const NPC_COURTYARD_CROSS_WAYPOINTS: = ;