@bendyline/molen-tooling 0.0.12 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/capture/harness.js +616 -332
  2. package/dist/capture/worldgen-preview.js +540 -326
  3. package/dist/docs-src/guide/adaptive-performance.md +42 -9
  4. package/dist/docs-src/guide/aircraft.md +171 -11
  5. package/dist/docs-src/guide/ambient-life.md +30 -3
  6. package/dist/docs-src/guide/audio.md +38 -1
  7. package/dist/docs-src/guide/boats.md +9 -4
  8. package/dist/docs-src/guide/boost-mode.md +64 -0
  9. package/dist/docs-src/guide/browser-mount.md +11 -0
  10. package/dist/docs-src/guide/determinism.md +2 -1
  11. package/dist/docs-src/guide/dioramas.md +11 -4
  12. package/dist/docs-src/guide/earth-view.md +145 -8
  13. package/dist/docs-src/guide/entities.md +3 -0
  14. package/dist/docs-src/guide/glass.md +134 -0
  15. package/dist/docs-src/guide/graphics-performance.md +196 -14
  16. package/dist/docs-src/guide/input.md +34 -1
  17. package/dist/docs-src/guide/liveries.md +167 -0
  18. package/dist/docs-src/guide/livery-catalog.md +2659 -0
  19. package/dist/docs-src/guide/livery-gallery.md +2684 -0
  20. package/dist/docs-src/guide/medium-fi.md +13 -5
  21. package/dist/docs-src/guide/navigation.md +23 -5
  22. package/dist/docs-src/guide/night-lighting.md +97 -0
  23. package/dist/docs-src/guide/project.md +1 -1
  24. package/dist/docs-src/guide/regional-fleets.md +9 -4
  25. package/dist/docs-src/guide/regional-world.md +9 -3
  26. package/dist/docs-src/guide/rendering-backends.md +6 -2
  27. package/dist/docs-src/guide/sky.md +2 -2
  28. package/dist/docs-src/guide/surface-rendering.md +21 -3
  29. package/dist/docs-src/guide/terrain.md +68 -3
  30. package/dist/docs-src/guide/vehicle-interiors.md +34 -3
  31. package/dist/docs-src/guide/vehicles.md +60 -2
  32. package/dist/docs-src/guide/weather.md +60 -21
  33. package/dist/docs-src/guide/worldgen.md +20 -5
  34. package/dist/docs-src/llms.txt +8 -2
  35. package/dist/docs-src/schemas/archstyle.md +29 -0
  36. package/dist/docs-src/schemas/components.md +1790 -176
  37. package/dist/docs-src/schemas/regional-catalog.md +39 -0
  38. package/dist/docs-src/schemas/scatter.md +36 -0
  39. package/dist/docs-src/schemas/structure-placement-data.md +91 -0
  40. package/dist/docs-src/schemas/structure-placements.md +91 -0
  41. package/dist/docs-src/schemas/worldgen-batch.md +105 -0
  42. package/dist/templates/city-courier/gen/molen-types.ts +204 -1
  43. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +203 -0
  44. package/dist/templates/city-courier/src/shared/playback.ts +21 -10
  45. package/dist/templates/cubes/src/shared/playback.ts +21 -10
  46. package/dist/templates/data-viz/src/shared/playback.ts +21 -10
  47. package/dist/templates/figures-gallery/src/shared/playback.ts +21 -10
  48. package/dist/templates/index.json +17 -17
  49. package/dist/templates/skybound/gen/molen-types.ts +204 -1
  50. package/dist/templates/skybound/scripts/molen-scripts.d.ts +203 -0
  51. package/dist/templates/skybound/src/shared/playback.ts +21 -10
  52. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +203 -0
  53. package/dist/templates/top-down-arena/src/gen/molen-types.ts +204 -1
  54. package/dist/templates/top-down-arena/src/shared/playback.ts +21 -10
  55. package/package.json +12 -12
@@ -47,6 +47,7 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
47
47
  | `boat` | kernel/boats | Waterline-aligned powered hull with data-driven handling and shared seats. |
48
48
  | `boatInput` | kernel/boats | Helm intent: signed thrust, steering and low-speed anchor. Only the driver controls it. |
49
49
  | `boatState` | kernel/boats | Snapshot-safe hull motion, buoyancy and anchoring; owned by installBoats. |
50
+ | `boostMode` | kernel | World-wide 4× travel assist for people and vehicles. Control response times stay normal. |
50
51
  | `character` | kernel/character | Kinematic character controller state (speed/jump/gravity + kernel-owned vy/grounded). |
51
52
  | `collider` | kernel/kinematics | 2.5D kinematic collider (circle or XZ AABB) with layer/mask bitmasks. |
52
53
  | `collider3d` | physics-rapier | 3D collider (ball/cuboid/capsule/hull/trimesh/asset/heightfield) with layer/mask, sensor, and material params. Static without a rigidbody. |
@@ -57,12 +58,15 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
57
58
  | `figureState` | figures | Kernel-owned locomotion state of a figure (mode, quantized speed, tick-anchored gait phase). Read it; the figures systems write it. |
58
59
  | `force` | physics-rapier | Continuous force/torque applied every tick while present. |
59
60
  | `fsm` | kernel/gameplay | Minimal event-driven state machine: transitions fire on world events targeting the entity. |
61
+ | `glass` | kernel/glass | Breakable glass surfaces with metric geometry, material fracture and independent frame/interlayer retention. |
62
+ | `glassState` | kernel/glass | Persistent glass fracture, retention and release state. Missing panes are intact; remove the component to repair. |
60
63
  | `health` | content | Common gameplay hit-points component. |
61
64
  | `impulse` | physics-rapier | One-shot impulse/torque; consumed the tick it is applied. |
62
65
  | `joint` | physics-rapier | Impulse joint to another body (fixed/revolute/spherical/prismatic + limits/motor). |
63
66
  | `kinematicBody` | kernel/kinematics | Velocity-driven body for the kinematic collision layer. |
64
67
  | `lifetime` | kernel | Auto-despawn countdown in ticks. |
65
68
  | `light` | client | A light source at the entity transform (directional/point/spot). |
69
+ | `livery` | client | Reusable model paint slots, bound surface markings and selectable liveries. Visual only. |
66
70
  | `localTransform` | kernel/gameplay | Parent-relative transform for entities carrying `parent`. |
67
71
  | `model.signals` | client | Bind same-entity simulation fields and named numeric expressions to GLB transforms and visibility. Supports calibration, cyclic needles and timed response. Visual only; no physics writes. |
68
72
  | `mountable` | kernel/vehicles | Mount points in local meters, ordered safe exit candidates, and interaction reach. Seat position is the rider camera anchor. |
@@ -153,6 +157,10 @@ Required: `kind`, `type`, `lane`, `s`, `speed`, `seed`, `length`, `width`, `stat
153
157
  "minimum": 0,
154
158
  "description": "Speed along the lane in m/s."
155
159
  },
160
+ "boosted": {
161
+ "description": "Lane speed includes the 4× travel boost.",
162
+ "type": "boolean"
163
+ },
156
164
  "cruise": {
157
165
  "type": "number",
158
166
  "exclusiveMinimum": 0,
@@ -1838,6 +1846,12 @@ Required: none
1838
1846
  "minimum": 0,
1839
1847
  "maximum": 1
1840
1848
  },
1849
+ "referenceElevation": {
1850
+ "description": "Sun elevation in degrees whose sunlit-ground brightness is kept as the sun climbs higher: above it, sun and sky light scale down together so a level surface in sun receives the same light, as a camera adapts its exposure. Omit for constant light, which renders midday ground brighter than its authored color.",
1851
+ "type": "number",
1852
+ "minimum": 1,
1853
+ "maximum": 90
1854
+ },
1841
1855
  "castShadow": {
1842
1856
  "description": "Sun shadows; also requires environment.shadows. Default true.",
1843
1857
  "type": "boolean"
@@ -2072,6 +2086,12 @@ Required: none
2072
2086
  "minimum": 0,
2073
2087
  "maximum": 1
2074
2088
  },
2089
+ "referenceElevation": {
2090
+ "description": "Sun elevation in degrees whose sunlit-ground brightness is kept as the sun climbs higher: above it, sun and sky light scale down together so a level surface in sun receives the same light, as a camera adapts its exposure. Omit for constant light, which renders midday ground brighter than its authored color.",
2091
+ "type": "number",
2092
+ "minimum": 1,
2093
+ "maximum": 90
2094
+ },
2075
2095
  "castShadow": {
2076
2096
  "description": "Sun shadows; also requires environment.shadows. Default true.",
2077
2097
  "type": "boolean"
@@ -2419,6 +2439,418 @@ Required: `type`
2419
2439
 
2420
2440
  </details>
2421
2441
 
2442
+ ### `livery`
2443
+
2444
+ Reusable model paint slots, bound surface markings and selectable liveries. Visual only.
2445
+
2446
+ Required: `selected`, `slots`, `variants`
2447
+
2448
+ ```json
2449
+ {
2450
+ "selected": "red",
2451
+ "slots": {
2452
+ "body": {
2453
+ "materials": [
2454
+ "body-paint"
2455
+ ]
2456
+ }
2457
+ },
2458
+ "variants": [
2459
+ {
2460
+ "id": "red",
2461
+ "label": "Red",
2462
+ "provenance": {
2463
+ "kind": "original",
2464
+ "note": "Original paint.",
2465
+ "references": []
2466
+ },
2467
+ "paints": {
2468
+ "body": {
2469
+ "color": "#b8463d"
2470
+ }
2471
+ }
2472
+ }
2473
+ ]
2474
+ }
2475
+ ```
2476
+
2477
+ <details>
2478
+ <summary>JSON Schema</summary>
2479
+
2480
+ ```json
2481
+ {
2482
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2483
+ "type": "object",
2484
+ "properties": {
2485
+ "selected": {
2486
+ "type": "string",
2487
+ "minLength": 1,
2488
+ "maxLength": 128,
2489
+ "description": "Selected variant id; patch only this field to change the livery."
2490
+ },
2491
+ "slots": {
2492
+ "type": "object",
2493
+ "propertyNames": {
2494
+ "type": "string",
2495
+ "minLength": 1,
2496
+ "maxLength": 128
2497
+ },
2498
+ "additionalProperties": {
2499
+ "type": "object",
2500
+ "properties": {
2501
+ "materials": {
2502
+ "minItems": 1,
2503
+ "type": "array",
2504
+ "items": {
2505
+ "type": "string",
2506
+ "minLength": 1,
2507
+ "maxLength": 128
2508
+ },
2509
+ "description": "Exact glTF material names belonging to this paint region."
2510
+ },
2511
+ "node": {
2512
+ "description": "Optional named glTF subtree restricting this region.",
2513
+ "type": "string",
2514
+ "minLength": 1,
2515
+ "maxLength": 128
2516
+ }
2517
+ },
2518
+ "required": [
2519
+ "materials"
2520
+ ],
2521
+ "additionalProperties": false
2522
+ },
2523
+ "description": "Stable paint regions bound to named model materials."
2524
+ },
2525
+ "anchors": {
2526
+ "description": "Reusable marking projectors attached to model paint regions.",
2527
+ "type": "object",
2528
+ "propertyNames": {
2529
+ "type": "string",
2530
+ "minLength": 1,
2531
+ "maxLength": 128
2532
+ },
2533
+ "additionalProperties": {
2534
+ "type": "object",
2535
+ "properties": {
2536
+ "slot": {
2537
+ "type": "string",
2538
+ "minLength": 1,
2539
+ "maxLength": 128,
2540
+ "description": "Paint region receiving the projected marking."
2541
+ },
2542
+ "position": {
2543
+ "type": "array",
2544
+ "prefixItems": [
2545
+ {
2546
+ "type": "number"
2547
+ },
2548
+ {
2549
+ "type": "number"
2550
+ },
2551
+ {
2552
+ "type": "number"
2553
+ }
2554
+ ],
2555
+ "items": false,
2556
+ "minItems": 3,
2557
+ "maxItems": 3,
2558
+ "description": "Projector center as fractions of the region bounds, measured from their minimum corner."
2559
+ },
2560
+ "size": {
2561
+ "type": "array",
2562
+ "prefixItems": [
2563
+ {
2564
+ "type": "number",
2565
+ "exclusiveMinimum": 0,
2566
+ "maximum": 4
2567
+ },
2568
+ {
2569
+ "type": "number",
2570
+ "exclusiveMinimum": 0,
2571
+ "maximum": 4
2572
+ },
2573
+ {
2574
+ "type": "number",
2575
+ "exclusiveMinimum": 0,
2576
+ "maximum": 4
2577
+ }
2578
+ ],
2579
+ "items": false,
2580
+ "minItems": 3,
2581
+ "maxItems": 3,
2582
+ "description": "Projector width, height and depth as fractions of the longest region dimension."
2583
+ },
2584
+ "rotation": {
2585
+ "type": "array",
2586
+ "prefixItems": [
2587
+ {
2588
+ "type": "number"
2589
+ },
2590
+ {
2591
+ "type": "number"
2592
+ },
2593
+ {
2594
+ "type": "number"
2595
+ }
2596
+ ],
2597
+ "items": false,
2598
+ "minItems": 3,
2599
+ "maxItems": 3,
2600
+ "description": "XYZ Euler rotation in radians; local positive Z points out of the surface."
2601
+ }
2602
+ },
2603
+ "required": [
2604
+ "slot",
2605
+ "position",
2606
+ "size",
2607
+ "rotation"
2608
+ ],
2609
+ "additionalProperties": false
2610
+ }
2611
+ },
2612
+ "variants": {
2613
+ "minItems": 1,
2614
+ "maxItems": 64,
2615
+ "type": "array",
2616
+ "items": {
2617
+ "type": "object",
2618
+ "properties": {
2619
+ "id": {
2620
+ "type": "string",
2621
+ "minLength": 1,
2622
+ "maxLength": 128,
2623
+ "description": "Stable identifier used by selected."
2624
+ },
2625
+ "label": {
2626
+ "type": "string",
2627
+ "minLength": 1,
2628
+ "maxLength": 256,
2629
+ "description": "Display name for this livery."
2630
+ },
2631
+ "provenance": {
2632
+ "type": "object",
2633
+ "properties": {
2634
+ "kind": {
2635
+ "type": "string",
2636
+ "enum": [
2637
+ "photo",
2638
+ "inspired",
2639
+ "original"
2640
+ ],
2641
+ "description": "Whether the appearance is photograph verified, reference inspired or an original design."
2642
+ },
2643
+ "note": {
2644
+ "type": "string",
2645
+ "minLength": 1,
2646
+ "description": "Attribution, verification scope and any deliberate approximations."
2647
+ },
2648
+ "references": {
2649
+ "type": "array",
2650
+ "items": {
2651
+ "type": "object",
2652
+ "properties": {
2653
+ "title": {
2654
+ "type": "string",
2655
+ "minLength": 1,
2656
+ "description": "Human-readable reference title."
2657
+ },
2658
+ "url": {
2659
+ "type": "string",
2660
+ "pattern": "^https?:\\/\\/[^\\s]+$",
2661
+ "description": "HTTP or HTTPS source URL."
2662
+ }
2663
+ },
2664
+ "required": [
2665
+ "title",
2666
+ "url"
2667
+ ],
2668
+ "additionalProperties": false
2669
+ },
2670
+ "description": "Public references supporting the appearance; required for photo and inspired designs."
2671
+ }
2672
+ },
2673
+ "required": [
2674
+ "kind",
2675
+ "note",
2676
+ "references"
2677
+ ],
2678
+ "additionalProperties": false,
2679
+ "description": "Evidence and authorship for the appearance."
2680
+ },
2681
+ "paints": {
2682
+ "type": "object",
2683
+ "propertyNames": {
2684
+ "type": "string",
2685
+ "minLength": 1,
2686
+ "maxLength": 128
2687
+ },
2688
+ "additionalProperties": {
2689
+ "type": "object",
2690
+ "properties": {
2691
+ "color": {
2692
+ "type": "string",
2693
+ "pattern": "^#[0-9a-fA-F]{6}$",
2694
+ "description": "Base paint color as an sRGB hex triplet."
2695
+ },
2696
+ "roughness": {
2697
+ "description": "Optional material roughness override.",
2698
+ "type": "number",
2699
+ "minimum": 0,
2700
+ "maximum": 1
2701
+ },
2702
+ "metalness": {
2703
+ "description": "Optional material metalness override.",
2704
+ "type": "number",
2705
+ "minimum": 0,
2706
+ "maximum": 1
2707
+ },
2708
+ "camouflage": {
2709
+ "description": "Optional camouflage projected in model space without changing authored UVs.",
2710
+ "type": "object",
2711
+ "properties": {
2712
+ "colors": {
2713
+ "minItems": 2,
2714
+ "maxItems": 4,
2715
+ "type": "array",
2716
+ "items": {
2717
+ "type": "string",
2718
+ "pattern": "^#[0-9a-fA-F]{6}$"
2719
+ },
2720
+ "description": "Two to four colors for deterministic camouflage patches."
2721
+ },
2722
+ "scale": {
2723
+ "type": "number",
2724
+ "exclusiveMinimum": 0,
2725
+ "maximum": 100,
2726
+ "description": "Pattern repetitions across the longest paint-region dimension."
2727
+ },
2728
+ "seed": {
2729
+ "type": "integer",
2730
+ "minimum": 0,
2731
+ "maximum": 4294967295,
2732
+ "description": "Unsigned deterministic pattern seed."
2733
+ }
2734
+ },
2735
+ "required": [
2736
+ "colors",
2737
+ "scale",
2738
+ "seed"
2739
+ ],
2740
+ "additionalProperties": false
2741
+ }
2742
+ },
2743
+ "required": [
2744
+ "color"
2745
+ ],
2746
+ "additionalProperties": false
2747
+ },
2748
+ "description": "Paint overrides keyed by stable paint-region name; omitted regions retain their authored appearance."
2749
+ },
2750
+ "markings": {
2751
+ "description": "Surface markings to project for this variant.",
2752
+ "maxItems": 32,
2753
+ "type": "array",
2754
+ "items": {
2755
+ "type": "object",
2756
+ "properties": {
2757
+ "anchor": {
2758
+ "type": "string",
2759
+ "minLength": 1,
2760
+ "maxLength": 128,
2761
+ "description": "Reusable model marking anchor."
2762
+ },
2763
+ "graphic": {
2764
+ "type": "object",
2765
+ "properties": {
2766
+ "label": {
2767
+ "description": "Optional descriptive label; rendered lettering belongs in the polygon artwork.",
2768
+ "type": "string",
2769
+ "maxLength": 256
2770
+ },
2771
+ "shapes": {
2772
+ "minItems": 1,
2773
+ "maxItems": 4096,
2774
+ "type": "array",
2775
+ "items": {
2776
+ "type": "object",
2777
+ "properties": {
2778
+ "color": {
2779
+ "type": "string",
2780
+ "pattern": "^#[0-9a-fA-F]{6}$",
2781
+ "description": "Flat polygon color as an sRGB hex triplet."
2782
+ },
2783
+ "points": {
2784
+ "minItems": 3,
2785
+ "maxItems": 512,
2786
+ "type": "array",
2787
+ "items": {
2788
+ "type": "array",
2789
+ "prefixItems": [
2790
+ {
2791
+ "type": "number",
2792
+ "minimum": 0,
2793
+ "maximum": 1
2794
+ },
2795
+ {
2796
+ "type": "number",
2797
+ "minimum": 0,
2798
+ "maximum": 1
2799
+ }
2800
+ ],
2801
+ "items": false,
2802
+ "minItems": 2,
2803
+ "maxItems": 2
2804
+ },
2805
+ "description": "Polygon vertices in normalized 0–1 coordinates with positive Y upward."
2806
+ }
2807
+ },
2808
+ "required": [
2809
+ "color",
2810
+ "points"
2811
+ ],
2812
+ "additionalProperties": false
2813
+ },
2814
+ "description": "Original flat artwork polygons, painted in order."
2815
+ }
2816
+ },
2817
+ "required": [
2818
+ "shapes"
2819
+ ],
2820
+ "additionalProperties": false,
2821
+ "description": "Resolution-independent artwork rasterized for the surface projector."
2822
+ }
2823
+ },
2824
+ "required": [
2825
+ "anchor",
2826
+ "graphic"
2827
+ ],
2828
+ "additionalProperties": false
2829
+ }
2830
+ }
2831
+ },
2832
+ "required": [
2833
+ "id",
2834
+ "label",
2835
+ "provenance",
2836
+ "paints"
2837
+ ],
2838
+ "additionalProperties": false
2839
+ },
2840
+ "description": "Available livery recipes for this model."
2841
+ }
2842
+ },
2843
+ "required": [
2844
+ "selected",
2845
+ "slots",
2846
+ "variants"
2847
+ ],
2848
+ "additionalProperties": false
2849
+ }
2850
+ ```
2851
+
2852
+ </details>
2853
+
2422
2854
  ### `model.signals`
2423
2855
 
2424
2856
  Bind same-entity simulation fields and named numeric expressions to GLB transforms and visibility. Supports calibration, cyclic needles and timed response. Visual only; no physics writes.
@@ -3546,9 +3978,43 @@ Required: `mode`, `speed`, `strideRate`, `phaseAt`, `phaseAtTick`, `modeAtTick`
3546
3978
 
3547
3979
  ## Owner: kernel
3548
3980
 
3549
- ### `lifetime`
3981
+ ### `boostMode`
3550
3982
 
3551
- Auto-despawn countdown in ticks.
3983
+ World-wide 4× travel assist for people and vehicles. Control response times stay normal.
3984
+
3985
+ Required: `enabled`
3986
+
3987
+ ```json
3988
+ {
3989
+ "enabled": true
3990
+ }
3991
+ ```
3992
+
3993
+ <details>
3994
+ <summary>JSON Schema</summary>
3995
+
3996
+ ```json
3997
+ {
3998
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3999
+ "type": "object",
4000
+ "properties": {
4001
+ "enabled": {
4002
+ "type": "boolean",
4003
+ "description": "Enable 4× travel speed for people and vehicles."
4004
+ }
4005
+ },
4006
+ "required": [
4007
+ "enabled"
4008
+ ],
4009
+ "additionalProperties": false
4010
+ }
4011
+ ```
4012
+
4013
+ </details>
4014
+
4015
+ ### `lifetime`
4016
+
4017
+ Auto-despawn countdown in ticks.
3552
4018
 
3553
4019
  Required: `ticksLeft`
3554
4020
 
@@ -3992,6 +4458,44 @@ Required: `kind`, `spec`
3992
4458
  "spec": {
3993
4459
  "type": "object",
3994
4460
  "properties": {
4461
+ "actuators": {
4462
+ "description": "External actuators setting.",
4463
+ "type": "object",
4464
+ "propertyNames": {
4465
+ "type": "string",
4466
+ "maxLength": 64,
4467
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
4468
+ },
4469
+ "additionalProperties": {
4470
+ "type": "object",
4471
+ "properties": {
4472
+ "seconds": {
4473
+ "type": "number",
4474
+ "minimum": 0,
4475
+ "description": "Seconds for full travel or a full cycle."
4476
+ },
4477
+ "initial": {
4478
+ "description": "Rest position or phase; defaults to zero.",
4479
+ "type": "number",
4480
+ "minimum": 0,
4481
+ "maximum": 1
4482
+ },
4483
+ "mode": {
4484
+ "description": "Position by default. Cycles park when off; latches cannot reverse.",
4485
+ "type": "string",
4486
+ "enum": [
4487
+ "position",
4488
+ "cycle",
4489
+ "latch"
4490
+ ]
4491
+ }
4492
+ },
4493
+ "required": [
4494
+ "seconds"
4495
+ ],
4496
+ "additionalProperties": false
4497
+ }
4498
+ },
3995
4499
  "label": {
3996
4500
  "type": "string",
3997
4501
  "minLength": 1,
@@ -4052,6 +4556,26 @@ Required: `kind`, `spec`
4052
4556
  "description": "Single engine, implicitly named main. Supply exactly one of engine or engines.",
4053
4557
  "type": "object",
4054
4558
  "properties": {
4559
+ "mixtureControl": {
4560
+ "description": "Manual piston mixture; omitted leaves fuel scheduling automatic.",
4561
+ "type": "boolean"
4562
+ },
4563
+ "propellerControl": {
4564
+ "description": "Constant-speed propeller; the lever selects RPM and the governor varies pitch.",
4565
+ "type": "object",
4566
+ "properties": {
4567
+ "minRpm": {
4568
+ "type": "number",
4569
+ "minimum": 0.3,
4570
+ "maximum": 0.95,
4571
+ "description": "Minimum governed RPM as a fraction of rated propeller RPM."
4572
+ }
4573
+ },
4574
+ "required": [
4575
+ "minRpm"
4576
+ ],
4577
+ "additionalProperties": false
4578
+ },
4055
4579
  "propulsion": {
4056
4580
  "description": "Installed propulsion type; omitted preserves the legacy constant-power model.",
4057
4581
  "type": "string",
@@ -4196,6 +4720,26 @@ Required: `kind`, `spec`
4196
4720
  "items": {
4197
4721
  "type": "object",
4198
4722
  "properties": {
4723
+ "mixtureControl": {
4724
+ "description": "Manual piston mixture; omitted leaves fuel scheduling automatic.",
4725
+ "type": "boolean"
4726
+ },
4727
+ "propellerControl": {
4728
+ "description": "Constant-speed propeller; the lever selects RPM and the governor varies pitch.",
4729
+ "type": "object",
4730
+ "properties": {
4731
+ "minRpm": {
4732
+ "type": "number",
4733
+ "minimum": 0.3,
4734
+ "maximum": 0.95,
4735
+ "description": "Minimum governed RPM as a fraction of rated propeller RPM."
4736
+ }
4737
+ },
4738
+ "required": [
4739
+ "minRpm"
4740
+ ],
4741
+ "additionalProperties": false
4742
+ },
4199
4743
  "propulsion": {
4200
4744
  "description": "Installed propulsion type; omitted preserves the legacy constant-power model.",
4201
4745
  "type": "string",
@@ -4622,6 +5166,11 @@ Required: `kind`, `spec`
4622
5166
  "minimum": 0,
4623
5167
  "description": "Drag coefficient of the landing gear fully down; scales with the gear position."
4624
5168
  },
5169
+ "speedBrakeDrag": {
5170
+ "description": "Additional drag coefficient at full speedBrake actuator extension.",
5171
+ "type": "number",
5172
+ "minimum": 0
5173
+ },
4625
5174
  "flapDrag": {
4626
5175
  "type": "number",
4627
5176
  "minimum": 0,
@@ -4723,6 +5272,15 @@ Required: `kind`, `spec`
4723
5272
  "description": "External helicopter setting.",
4724
5273
  "type": "object",
4725
5274
  "properties": {
5275
+ "fixedGear": {
5276
+ "description": "Fixed skids or wheels by default; false enables retractable gear.",
5277
+ "type": "boolean"
5278
+ },
5279
+ "gearTransitTime": {
5280
+ "description": "Seconds for full retractable gear travel.",
5281
+ "type": "number",
5282
+ "minimum": 0
5283
+ },
4726
5284
  "rotorPosition": {
4727
5285
  "minItems": 3,
4728
5286
  "maxItems": 3,
@@ -4937,6 +5495,226 @@ Required: `kind`, `spec`
4937
5495
  },
4938
5496
  "description": "External collisionProbes setting."
4939
5497
  },
5498
+ "collisionParts": {
5499
+ "description": "Breakable airframe sections: local probe spheres, section center, mass fraction, normal break speed (m/s), GLB nodes and attached engines. Replaces collisionProbes.",
5500
+ "minItems": 1,
5501
+ "maxItems": 64,
5502
+ "type": "array",
5503
+ "items": {
5504
+ "type": "object",
5505
+ "properties": {
5506
+ "id": {
5507
+ "type": "string",
5508
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
5509
+ "description": "Unique section id used by damage and debris state."
5510
+ },
5511
+ "role": {
5512
+ "type": "string",
5513
+ "enum": [
5514
+ "body",
5515
+ "leftWing",
5516
+ "rightWing",
5517
+ "tail",
5518
+ "rotor",
5519
+ "tailRotor",
5520
+ "gear",
5521
+ "engine"
5522
+ ],
5523
+ "description": "Flight role; +X is the left wing. Body sections cannot detach."
5524
+ },
5525
+ "probes": {
5526
+ "maxItems": 64,
5527
+ "type": "array",
5528
+ "items": {
5529
+ "minItems": 3,
5530
+ "maxItems": 3,
5531
+ "type": "array",
5532
+ "items": {
5533
+ "type": "number"
5534
+ }
5535
+ },
5536
+ "description": "Local collision sphere centers, meters."
5537
+ },
5538
+ "radius": {
5539
+ "type": "number",
5540
+ "exclusiveMinimum": 0,
5541
+ "description": "Probe and detached-piece collision radius, meters."
5542
+ },
5543
+ "disc": {
5544
+ "description": "Finite rotor disc replacing sphere probes, including at rest. Blade speed contributes to strike damage.",
5545
+ "type": "object",
5546
+ "properties": {
5547
+ "center": {
5548
+ "minItems": 3,
5549
+ "maxItems": 3,
5550
+ "type": "array",
5551
+ "items": {
5552
+ "type": "number"
5553
+ },
5554
+ "description": "Rotor hub in model coordinates, meters."
5555
+ },
5556
+ "normal": {
5557
+ "minItems": 3,
5558
+ "maxItems": 3,
5559
+ "type": "array",
5560
+ "items": {
5561
+ "type": "number"
5562
+ },
5563
+ "description": "Unit rotation axis in model coordinates."
5564
+ },
5565
+ "radius": {
5566
+ "type": "number",
5567
+ "exclusiveMinimum": 0,
5568
+ "description": "Full swept rotor radius, meters."
5569
+ },
5570
+ "halfThickness": {
5571
+ "type": "number",
5572
+ "exclusiveMinimum": 0,
5573
+ "description": "Half the swept blade thickness, meters."
5574
+ },
5575
+ "rotor": {
5576
+ "type": "string",
5577
+ "minLength": 1,
5578
+ "description": "Node in visual.rotors supplying engine RPM and speed multiplier."
5579
+ },
5580
+ "tilt": {
5581
+ "description": "Powered-lift hinge, in model coordinates at forward thrust.",
5582
+ "type": "object",
5583
+ "properties": {
5584
+ "pivot": {
5585
+ "minItems": 3,
5586
+ "maxItems": 3,
5587
+ "type": "array",
5588
+ "items": {
5589
+ "type": "number"
5590
+ },
5591
+ "description": "Powered-lift hinge pivot in model coordinates, meters."
5592
+ },
5593
+ "axis": {
5594
+ "minItems": 3,
5595
+ "maxItems": 3,
5596
+ "type": "array",
5597
+ "items": {
5598
+ "type": "number"
5599
+ },
5600
+ "description": "Unit powered-lift hinge axis in model coordinates."
5601
+ },
5602
+ "angle": {
5603
+ "type": "number",
5604
+ "description": "Hinge rotation in radians at full thrustVectorPosition."
5605
+ }
5606
+ },
5607
+ "required": [
5608
+ "pivot",
5609
+ "axis",
5610
+ "angle"
5611
+ ],
5612
+ "additionalProperties": false
5613
+ }
5614
+ },
5615
+ "required": [
5616
+ "center",
5617
+ "normal",
5618
+ "radius",
5619
+ "halfThickness",
5620
+ "rotor"
5621
+ ],
5622
+ "additionalProperties": false
5623
+ },
5624
+ "parent": {
5625
+ "description": "Supporting part id; separation also releases this part.",
5626
+ "type": "string",
5627
+ "minLength": 1
5628
+ },
5629
+ "center": {
5630
+ "minItems": 3,
5631
+ "maxItems": 3,
5632
+ "type": "array",
5633
+ "items": {
5634
+ "type": "number"
5635
+ },
5636
+ "description": "Section center in model coordinates, meters."
5637
+ },
5638
+ "massFraction": {
5639
+ "type": "number",
5640
+ "exclusiveMinimum": 0,
5641
+ "maximum": 1,
5642
+ "description": "Share of the original mass removed on separation."
5643
+ },
5644
+ "breakSpeed": {
5645
+ "description": "Joint failure speed in m/s for a normal impact. Loaded sliding also causes shear damage. Omit for an unbreakable section.",
5646
+ "type": "number",
5647
+ "exclusiveMinimum": 0
5648
+ },
5649
+ "nodes": {
5650
+ "type": "array",
5651
+ "items": {
5652
+ "type": "string",
5653
+ "minLength": 1
5654
+ },
5655
+ "description": "GLB node names belonging to this section, including attached controls."
5656
+ },
5657
+ "fragments": {
5658
+ "description": "Optional region for splitting shared markings and detail meshes.",
5659
+ "type": "object",
5660
+ "properties": {
5661
+ "nodes": {
5662
+ "minItems": 1,
5663
+ "type": "array",
5664
+ "items": {
5665
+ "type": "string",
5666
+ "minLength": 1
5667
+ },
5668
+ "description": "Shared static meshes to partition by triangle centroid."
5669
+ },
5670
+ "min": {
5671
+ "minItems": 3,
5672
+ "maxItems": 3,
5673
+ "type": "array",
5674
+ "items": {
5675
+ "type": "number"
5676
+ },
5677
+ "description": "Minimum corner of the section region in model meters."
5678
+ },
5679
+ "max": {
5680
+ "minItems": 3,
5681
+ "maxItems": 3,
5682
+ "type": "array",
5683
+ "items": {
5684
+ "type": "number"
5685
+ },
5686
+ "description": "Maximum corner of the section region in model meters."
5687
+ }
5688
+ },
5689
+ "required": [
5690
+ "nodes",
5691
+ "min",
5692
+ "max"
5693
+ ],
5694
+ "additionalProperties": false
5695
+ },
5696
+ "engines": {
5697
+ "description": "Engine ids that fail when this section detaches.",
5698
+ "type": "array",
5699
+ "items": {
5700
+ "type": "string",
5701
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]*$",
5702
+ "description": "Stable engine id, such as left or right; single-engine form uses main."
5703
+ }
5704
+ }
5705
+ },
5706
+ "required": [
5707
+ "id",
5708
+ "role",
5709
+ "probes",
5710
+ "radius",
5711
+ "center",
5712
+ "massFraction",
5713
+ "nodes"
5714
+ ],
5715
+ "additionalProperties": false
5716
+ }
5717
+ },
4940
5718
  "visual": {
4941
5719
  "type": "object",
4942
5720
  "properties": {
@@ -5638,6 +6416,39 @@ Required: `power`, `pitch`, `roll`, `yaw`, `brake`, `engine`, `gear`, `flaps`
5638
6416
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5639
6417
  "type": "object",
5640
6418
  "properties": {
6419
+ "actuators": {
6420
+ "description": "Mechanism targets from zero to one, or on/off selections.",
6421
+ "type": "object",
6422
+ "propertyNames": {
6423
+ "type": "string",
6424
+ "maxLength": 64,
6425
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
6426
+ },
6427
+ "additionalProperties": {
6428
+ "anyOf": [
6429
+ {
6430
+ "type": "number",
6431
+ "minimum": 0,
6432
+ "maximum": 1
6433
+ },
6434
+ {
6435
+ "type": "boolean"
6436
+ }
6437
+ ]
6438
+ }
6439
+ },
6440
+ "mixture": {
6441
+ "description": "Common mixture: 0 idle cutoff, 1 full rich (default).",
6442
+ "type": "number",
6443
+ "minimum": 0,
6444
+ "maximum": 1
6445
+ },
6446
+ "propeller": {
6447
+ "description": "Common propeller lever: 0 minimum governed RPM, 1 maximum (default).",
6448
+ "type": "number",
6449
+ "minimum": 0,
6450
+ "maximum": 1
6451
+ },
5641
6452
  "power": {
5642
6453
  "type": "number",
5643
6454
  "minimum": 0,
@@ -5687,6 +6498,18 @@ Required: `power`, `pitch`, `roll`, `yaw`, `brake`, `engine`, `gear`, `flaps`
5687
6498
  "minimum": 0,
5688
6499
  "maximum": 1
5689
6500
  },
6501
+ "mixture": {
6502
+ "description": "Individual mixture override; inherits common mixture.",
6503
+ "type": "number",
6504
+ "minimum": 0,
6505
+ "maximum": 1
6506
+ },
6507
+ "propeller": {
6508
+ "description": "Individual propeller RPM override; inherits common propeller.",
6509
+ "type": "number",
6510
+ "minimum": 0,
6511
+ "maximum": 1
6512
+ },
5690
6513
  "enabled": {
5691
6514
  "description": "Individual engine switch; common engine switch is the master cutoff.",
5692
6515
  "type": "boolean"
@@ -5774,16 +6597,126 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
5774
6597
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5775
6598
  "type": "object",
5776
6599
  "properties": {
5777
- "mach": {
5778
- "description": "True airspeed divided by local speed of sound.",
5779
- "type": "number",
5780
- "minimum": 0
5781
- },
5782
- "equivalentAirspeed": {
5783
- "description": "Airspeed normalized to standard sea-level density, m/s; not calibrated IAS.",
5784
- "type": "number",
5785
- "minimum": 0
5786
- },
6600
+ "actuators": {
6601
+ "description": "Current mechanism positions and cycle phases, from zero to one.",
6602
+ "type": "object",
6603
+ "propertyNames": {
6604
+ "type": "string",
6605
+ "maxLength": 64,
6606
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
6607
+ },
6608
+ "additionalProperties": {
6609
+ "type": "number",
6610
+ "minimum": 0,
6611
+ "maximum": 1
6612
+ }
6613
+ },
6614
+ "damage": {
6615
+ "description": "Persistent section integrity and separation, keyed by collision part id.",
6616
+ "type": "object",
6617
+ "propertyNames": {
6618
+ "type": "string"
6619
+ },
6620
+ "additionalProperties": {
6621
+ "type": "object",
6622
+ "properties": {
6623
+ "integrity": {
6624
+ "type": "number",
6625
+ "minimum": 0,
6626
+ "maximum": 1,
6627
+ "description": "Remaining joint integrity, 0 broken to 1 intact."
6628
+ },
6629
+ "detached": {
6630
+ "type": "boolean",
6631
+ "description": "Section has separated and no longer supplies lift or collision probes."
6632
+ }
6633
+ },
6634
+ "required": [
6635
+ "integrity",
6636
+ "detached"
6637
+ ],
6638
+ "additionalProperties": false
6639
+ }
6640
+ },
6641
+ "debris": {
6642
+ "description": "Detached sections in world coordinates, simulated for 20 seconds. Their removal does not repair the aircraft.",
6643
+ "maxItems": 64,
6644
+ "type": "array",
6645
+ "items": {
6646
+ "type": "object",
6647
+ "properties": {
6648
+ "part": {
6649
+ "type": "string",
6650
+ "minLength": 1,
6651
+ "description": "Owning collision section id."
6652
+ },
6653
+ "pos": {
6654
+ "minItems": 3,
6655
+ "maxItems": 3,
6656
+ "type": "array",
6657
+ "items": {
6658
+ "type": "number"
6659
+ },
6660
+ "description": "Section center in world meters."
6661
+ },
6662
+ "rot": {
6663
+ "minItems": 4,
6664
+ "maxItems": 4,
6665
+ "type": "array",
6666
+ "items": {
6667
+ "type": "number"
6668
+ },
6669
+ "description": "World-space section orientation quaternion."
6670
+ },
6671
+ "velocity": {
6672
+ "minItems": 3,
6673
+ "maxItems": 3,
6674
+ "type": "array",
6675
+ "items": {
6676
+ "type": "number"
6677
+ },
6678
+ "description": "World velocity in m/s, inherited at separation including travel boost."
6679
+ },
6680
+ "angularVelocity": {
6681
+ "minItems": 3,
6682
+ "maxItems": 3,
6683
+ "type": "array",
6684
+ "items": {
6685
+ "type": "number"
6686
+ },
6687
+ "description": "Local angular velocity about +X, +Y and +Z, rad/s."
6688
+ },
6689
+ "age": {
6690
+ "type": "number",
6691
+ "minimum": 0,
6692
+ "description": "Simulated seconds since separation; expires at 20 seconds."
6693
+ }
6694
+ },
6695
+ "required": [
6696
+ "part",
6697
+ "pos",
6698
+ "rot",
6699
+ "velocity",
6700
+ "angularVelocity",
6701
+ "age"
6702
+ ],
6703
+ "additionalProperties": false
6704
+ }
6705
+ },
6706
+ "boosted": {
6707
+ "description": "Speeds include the 4× travel boost; kernel-owned.",
6708
+ "type": "boolean"
6709
+ },
6710
+ "mach": {
6711
+ "description": "True airspeed divided by local speed of sound.",
6712
+ "type": "number",
6713
+ "minimum": 0
6714
+ },
6715
+ "equivalentAirspeed": {
6716
+ "description": "Airspeed normalized to standard sea-level density, m/s; not calibrated IAS.",
6717
+ "type": "number",
6718
+ "minimum": 0
6719
+ },
5787
6720
  "overspeed": {
5788
6721
  "description": "An airframe, surface or rotor speed limit is exceeded; informational, not a speed clamp.",
5789
6722
  "type": "boolean"
@@ -5840,7 +6773,7 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
5840
6773
  "maximum": 1
5841
6774
  },
5842
6775
  "gearPosition": {
5843
- "description": "Airplane landing gear: 0 up and locked, 1 down and locked, between them in transit. Starts at the commanded position.",
6776
+ "description": "Landing gear: 0 up and locked, 1 down and locked, between them in transit. Fixed undercarriages stay down.",
5844
6777
  "type": "number",
5845
6778
  "minimum": 0,
5846
6779
  "maximum": 1
@@ -5885,6 +6818,15 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
5885
6818
  "minimum": 0,
5886
6819
  "maximum": 1
5887
6820
  },
6821
+ "shaftPower": {
6822
+ "type": "number",
6823
+ "minimum": 0
6824
+ },
6825
+ "combustion": {
6826
+ "type": "number",
6827
+ "minimum": 0,
6828
+ "maximum": 1
6829
+ },
5888
6830
  "rotorAngle": {
5889
6831
  "type": "number"
5890
6832
  },
@@ -5949,7 +6891,7 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
5949
6891
  },
5950
6892
  "crashed": {
5951
6893
  "type": "boolean",
5952
- "description": "Hard landing or obstruction impact; explicit recovery required."
6894
+ "description": "Airframe damage requiring recovery. Motion continues under forces and collision impulses."
5953
6895
  },
5954
6896
  "waitingForTerrain": {
5955
6897
  "type": "boolean",
@@ -6725,6 +7667,10 @@ Required: `speed`, `lateralSpeed`, `velocity`, `yaw`, `yawRate`, `steer`, `pitch
6725
7667
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6726
7668
  "type": "object",
6727
7669
  "properties": {
7670
+ "boosted": {
7671
+ "description": "Horizontal speeds include the 4× travel boost.",
7672
+ "type": "boolean"
7673
+ },
6728
7674
  "speed": {
6729
7675
  "type": "number",
6730
7676
  "description": "Forward speed through water in m/s."
@@ -7430,132 +8376,41 @@ Required: `tweens`
7430
8376
 
7431
8377
  </details>
7432
8378
 
7433
- ## Owner: kernel/kinematics
7434
-
7435
- ### `collider`
7436
-
7437
- 2.5D kinematic collider (circle or XZ AABB) with layer/mask bitmasks.
8379
+ ## Owner: kernel/glass
7438
8380
 
7439
- Required: (shape="circle": `shape`, `layer`, `mask`) or (shape="aabb": `shape`, `layer`, `mask`)
8381
+ ### `glass`
7440
8382
 
7441
- ```json
7442
- {
7443
- "shape": "circle",
7444
- "radius": 0.5,
7445
- "layer": 1,
7446
- "mask": 1
7447
- }
7448
- ```
8383
+ Breakable glass surfaces with metric geometry, material fracture and independent frame/interlayer retention.
7449
8384
 
7450
- <details>
7451
- <summary>JSON Schema</summary>
8385
+ Required: `surfaces`
7452
8386
 
7453
8387
  ```json
7454
8388
  {
7455
- "$schema": "https://json-schema.org/draft/2020-12/schema",
7456
- "oneOf": [
8389
+ "surfaces": [
7457
8390
  {
7458
- "type": "object",
7459
- "properties": {
7460
- "shape": {
7461
- "type": "string",
7462
- "const": "circle",
7463
- "description": "Circle collider in the XZ plane."
7464
- },
7465
- "radius": {
7466
- "type": "number",
7467
- "exclusiveMinimum": 0,
7468
- "description": "Circle radius in meters (default 0.5)."
7469
- },
7470
- "layer": {
7471
- "type": "integer",
7472
- "minimum": 0,
7473
- "maximum": 4294967295,
7474
- "description": "Bitmask of collision layers this collider belongs to; a collides with b when (a.mask & b.layer) or (b.mask & a.layer) is non-zero."
7475
- },
7476
- "mask": {
7477
- "type": "integer",
7478
- "minimum": 0,
7479
- "maximum": 4294967295,
7480
- "description": "Bitmask of layers this collider collides with (see layer for the rule)."
7481
- },
7482
- "isStatic": {
7483
- "type": "boolean",
7484
- "description": "Static colliders never move and are never pushed by other bodies."
7485
- }
7486
- },
7487
- "required": [
7488
- "shape",
7489
- "layer",
7490
- "mask"
8391
+ "id": "windshield",
8392
+ "material": "laminated",
8393
+ "center": [
8394
+ 0,
8395
+ 1.2,
8396
+ 0.8
7491
8397
  ],
7492
- "additionalProperties": false
7493
- },
7494
- {
7495
- "type": "object",
7496
- "properties": {
7497
- "shape": {
7498
- "type": "string",
7499
- "const": "aabb",
7500
- "description": "Axis-aligned box collider in the XZ plane."
7501
- },
7502
- "halfExtents": {
7503
- "minItems": 2,
7504
- "maxItems": 2,
7505
- "type": "array",
7506
- "items": {
7507
- "type": "number",
7508
- "exclusiveMinimum": 0
7509
- },
7510
- "description": "Half-extents [x, z] in meters of the box in the XZ plane (2.5D; default [0.5, 0.5])."
7511
- },
7512
- "layer": {
7513
- "type": "integer",
7514
- "minimum": 0,
7515
- "maximum": 4294967295,
7516
- "description": "Bitmask of collision layers this collider belongs to; a collides with b when (a.mask & b.layer) or (b.mask & a.layer) is non-zero."
7517
- },
7518
- "mask": {
7519
- "type": "integer",
7520
- "minimum": 0,
7521
- "maximum": 4294967295,
7522
- "description": "Bitmask of layers this collider collides with (see layer for the rule)."
7523
- },
7524
- "isStatic": {
7525
- "type": "boolean",
7526
- "description": "Static colliders never move and are never pushed by other bodies."
7527
- }
7528
- },
7529
- "required": [
7530
- "shape",
7531
- "layer",
7532
- "mask"
8398
+ "rotation": [
8399
+ 0,
8400
+ 0,
8401
+ 0,
8402
+ 1
7533
8403
  ],
7534
- "additionalProperties": false
8404
+ "size": [
8405
+ 1.4,
8406
+ 0.7
8407
+ ],
8408
+ "thickness": 0.005
7535
8409
  }
7536
8410
  ]
7537
8411
  }
7538
8412
  ```
7539
8413
 
7540
- </details>
7541
-
7542
- ### `kinematicBody`
7543
-
7544
- Velocity-driven body for the kinematic collision layer.
7545
-
7546
- Required: `vel`, `slide`
7547
-
7548
- ```json
7549
- {
7550
- "vel": [
7551
- 0,
7552
- 0,
7553
- 0
7554
- ],
7555
- "slide": true
7556
- }
7557
- ```
7558
-
7559
8414
  <details>
7560
8415
  <summary>JSON Schema</summary>
7561
8416
 
@@ -7564,55 +8419,503 @@ Required: `vel`, `slide`
7564
8419
  "$schema": "https://json-schema.org/draft/2020-12/schema",
7565
8420
  "type": "object",
7566
8421
  "properties": {
7567
- "vel": {
7568
- "minItems": 3,
7569
- "maxItems": 3,
8422
+ "surfaces": {
8423
+ "minItems": 1,
8424
+ "maxItems": 64,
7570
8425
  "type": "array",
7571
8426
  "items": {
7572
- "type": "number"
7573
- },
7574
- "description": "Velocity [x, y, z] in meters per second, integrated each tick (dt = 1/tickRate)."
7575
- },
7576
- "slide": {
7577
- "type": "boolean",
7578
- "description": "When true, blocked motion slides along the contact surface instead of stopping."
7579
- }
7580
- },
7581
- "required": [
7582
- "vel",
7583
- "slide"
7584
- ],
7585
- "additionalProperties": false
7586
- }
7587
- ```
7588
-
7589
- </details>
7590
-
7591
- ## Owner: kernel/vehicles
7592
-
7593
- ### `mountable`
7594
-
7595
- Mount points in local meters, ordered safe exit candidates, and interaction reach. Seat position is the rider camera anchor.
7596
-
7597
- Required: `seats`, `exits`, `reach`
7598
-
7599
- ```json
7600
- {
7601
- "seats": [
7602
- {
7603
- "id": "driver",
7604
- "role": "driver",
7605
- "position": [
7606
- 0.4,
7607
- 1.14,
7608
- 0.25
7609
- ]
7610
- }
7611
- ],
7612
- "exits": [
7613
- [
7614
- -1.56,
7615
- 0,
8427
+ "type": "object",
8428
+ "properties": {
8429
+ "id": {
8430
+ "type": "string",
8431
+ "minLength": 1,
8432
+ "maxLength": 64,
8433
+ "description": "Stable pane id, unique on its owner."
8434
+ },
8435
+ "material": {
8436
+ "type": "string",
8437
+ "enum": [
8438
+ "laminated",
8439
+ "tempered",
8440
+ "annealed"
8441
+ ],
8442
+ "description": "Laminated retains cracked glass; tempered releases granules; annealed releases larger shards."
8443
+ },
8444
+ "center": {
8445
+ "type": "array",
8446
+ "prefixItems": [
8447
+ {
8448
+ "type": "number"
8449
+ },
8450
+ {
8451
+ "type": "number"
8452
+ },
8453
+ {
8454
+ "type": "number"
8455
+ }
8456
+ ],
8457
+ "items": false,
8458
+ "minItems": 3,
8459
+ "maxItems": 3,
8460
+ "description": "Pane center in owner coordinates, meters."
8461
+ },
8462
+ "rotation": {
8463
+ "type": "array",
8464
+ "prefixItems": [
8465
+ {
8466
+ "type": "number"
8467
+ },
8468
+ {
8469
+ "type": "number"
8470
+ },
8471
+ {
8472
+ "type": "number"
8473
+ },
8474
+ {
8475
+ "type": "number"
8476
+ }
8477
+ ],
8478
+ "items": false,
8479
+ "minItems": 4,
8480
+ "maxItems": 4,
8481
+ "description": "Pane XY orientation in owner coordinates, unit quaternion."
8482
+ },
8483
+ "size": {
8484
+ "type": "array",
8485
+ "prefixItems": [
8486
+ {
8487
+ "type": "number",
8488
+ "exclusiveMinimum": 0
8489
+ },
8490
+ {
8491
+ "type": "number",
8492
+ "exclusiveMinimum": 0
8493
+ }
8494
+ ],
8495
+ "items": false,
8496
+ "minItems": 2,
8497
+ "maxItems": 2,
8498
+ "description": "Width and height in meters."
8499
+ },
8500
+ "thickness": {
8501
+ "type": "number",
8502
+ "exclusiveMinimum": 0,
8503
+ "description": "Total glass thickness, meters; interlayer thickness excluded."
8504
+ },
8505
+ "density": {
8506
+ "description": "Glass density, kg/m³; default 2500.",
8507
+ "type": "number",
8508
+ "exclusiveMinimum": 0
8509
+ },
8510
+ "strength": {
8511
+ "description": "Effective bending failure stress, Pa. Defaults: tempered 120e6, others 45e6. Simulation tuning, not certification.",
8512
+ "type": "number",
8513
+ "exclusiveMinimum": 0
8514
+ },
8515
+ "fractureEnergy": {
8516
+ "description": "Post-initiation fracture work, J/m²; default 80.",
8517
+ "type": "number",
8518
+ "exclusiveMinimum": 0
8519
+ },
8520
+ "retentionForce": {
8521
+ "description": "Frame/interlayer failure force, N; default 4000 times pane perimeter in meters.",
8522
+ "type": "number",
8523
+ "exclusiveMinimum": 0
8524
+ },
8525
+ "retentionEnergy": {
8526
+ "description": "Work to lose frame/interlayer retention, J; default 3000 times area in m².",
8527
+ "type": "number",
8528
+ "exclusiveMinimum": 0
8529
+ },
8530
+ "nodes": {
8531
+ "description": "Dedicated glass mesh/group names; omit for a generated rectangular pane. Never bind a whole vehicle or a shared body mesh.",
8532
+ "minItems": 1,
8533
+ "type": "array",
8534
+ "items": {
8535
+ "type": "string",
8536
+ "minLength": 1
8537
+ }
8538
+ }
8539
+ },
8540
+ "required": [
8541
+ "id",
8542
+ "material",
8543
+ "center",
8544
+ "rotation",
8545
+ "size",
8546
+ "thickness"
8547
+ ],
8548
+ "additionalProperties": false
8549
+ },
8550
+ "description": "Physical glass panes and their model bindings."
8551
+ },
8552
+ "crashPulseSeconds": {
8553
+ "description": "Duration of the vehicle crash pulse, seconds; default 0.06, independent of tick rate.",
8554
+ "type": "number",
8555
+ "exclusiveMinimum": 0,
8556
+ "maximum": 1
8557
+ }
8558
+ },
8559
+ "required": [
8560
+ "surfaces"
8561
+ ],
8562
+ "additionalProperties": false
8563
+ }
8564
+ ```
8565
+
8566
+ </details>
8567
+
8568
+ ### `glassState`
8569
+
8570
+ Persistent glass fracture, retention and release state. Missing panes are intact; remove the component to repair.
8571
+
8572
+ Required: `surfaces`
8573
+
8574
+ ```json
8575
+ {
8576
+ "surfaces": {}
8577
+ }
8578
+ ```
8579
+
8580
+ <details>
8581
+ <summary>JSON Schema</summary>
8582
+
8583
+ ```json
8584
+ {
8585
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
8586
+ "type": "object",
8587
+ "properties": {
8588
+ "surfaces": {
8589
+ "type": "object",
8590
+ "propertyNames": {
8591
+ "type": "string",
8592
+ "minLength": 1
8593
+ },
8594
+ "additionalProperties": {
8595
+ "type": "object",
8596
+ "properties": {
8597
+ "fracture": {
8598
+ "type": "string",
8599
+ "enum": [
8600
+ "intact",
8601
+ "cracked",
8602
+ "shattered"
8603
+ ]
8604
+ },
8605
+ "retained": {
8606
+ "type": "boolean"
8607
+ },
8608
+ "damage": {
8609
+ "type": "number",
8610
+ "minimum": 0,
8611
+ "maximum": 1
8612
+ },
8613
+ "retentionDamage": {
8614
+ "type": "number",
8615
+ "minimum": 0,
8616
+ "maximum": 1
8617
+ },
8618
+ "peakStress": {
8619
+ "type": "number",
8620
+ "minimum": 0,
8621
+ "description": "Largest resolved bending stress in Pa."
8622
+ },
8623
+ "point": {
8624
+ "type": "array",
8625
+ "prefixItems": [
8626
+ {
8627
+ "type": "number"
8628
+ },
8629
+ {
8630
+ "type": "number"
8631
+ }
8632
+ ],
8633
+ "items": false,
8634
+ "minItems": 2,
8635
+ "maxItems": 2
8636
+ },
8637
+ "release": {
8638
+ "description": "Snapshot-safe initial world pose, velocity and simulation time for cosmetic debris.",
8639
+ "type": "object",
8640
+ "properties": {
8641
+ "time": {
8642
+ "type": "number",
8643
+ "minimum": 0
8644
+ },
8645
+ "position": {
8646
+ "type": "array",
8647
+ "prefixItems": [
8648
+ {
8649
+ "type": "number"
8650
+ },
8651
+ {
8652
+ "type": "number"
8653
+ },
8654
+ {
8655
+ "type": "number"
8656
+ }
8657
+ ],
8658
+ "items": false,
8659
+ "minItems": 3,
8660
+ "maxItems": 3
8661
+ },
8662
+ "rotation": {
8663
+ "type": "array",
8664
+ "prefixItems": [
8665
+ {
8666
+ "type": "number"
8667
+ },
8668
+ {
8669
+ "type": "number"
8670
+ },
8671
+ {
8672
+ "type": "number"
8673
+ },
8674
+ {
8675
+ "type": "number"
8676
+ }
8677
+ ],
8678
+ "items": false,
8679
+ "minItems": 4,
8680
+ "maxItems": 4
8681
+ },
8682
+ "velocity": {
8683
+ "type": "array",
8684
+ "prefixItems": [
8685
+ {
8686
+ "type": "number"
8687
+ },
8688
+ {
8689
+ "type": "number"
8690
+ },
8691
+ {
8692
+ "type": "number"
8693
+ }
8694
+ ],
8695
+ "items": false,
8696
+ "minItems": 3,
8697
+ "maxItems": 3
8698
+ },
8699
+ "fragmentSpeed": {
8700
+ "description": "Energy-limited cosmetic fragment dispersion speed, m/s.",
8701
+ "type": "number",
8702
+ "minimum": 0
8703
+ }
8704
+ },
8705
+ "required": [
8706
+ "time",
8707
+ "position",
8708
+ "rotation",
8709
+ "velocity"
8710
+ ],
8711
+ "additionalProperties": false
8712
+ }
8713
+ },
8714
+ "required": [
8715
+ "fracture",
8716
+ "retained",
8717
+ "damage",
8718
+ "retentionDamage",
8719
+ "peakStress",
8720
+ "point"
8721
+ ],
8722
+ "additionalProperties": false
8723
+ },
8724
+ "description": "Per-pane fracture, retention and release state keyed by surface id."
8725
+ }
8726
+ },
8727
+ "required": [
8728
+ "surfaces"
8729
+ ],
8730
+ "additionalProperties": false
8731
+ }
8732
+ ```
8733
+
8734
+ </details>
8735
+
8736
+ ## Owner: kernel/kinematics
8737
+
8738
+ ### `collider`
8739
+
8740
+ 2.5D kinematic collider (circle or XZ AABB) with layer/mask bitmasks.
8741
+
8742
+ Required: (shape="circle": `shape`, `layer`, `mask`) or (shape="aabb": `shape`, `layer`, `mask`)
8743
+
8744
+ ```json
8745
+ {
8746
+ "shape": "circle",
8747
+ "radius": 0.5,
8748
+ "layer": 1,
8749
+ "mask": 1
8750
+ }
8751
+ ```
8752
+
8753
+ <details>
8754
+ <summary>JSON Schema</summary>
8755
+
8756
+ ```json
8757
+ {
8758
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
8759
+ "oneOf": [
8760
+ {
8761
+ "type": "object",
8762
+ "properties": {
8763
+ "shape": {
8764
+ "type": "string",
8765
+ "const": "circle",
8766
+ "description": "Circle collider in the XZ plane."
8767
+ },
8768
+ "radius": {
8769
+ "type": "number",
8770
+ "exclusiveMinimum": 0,
8771
+ "description": "Circle radius in meters (default 0.5)."
8772
+ },
8773
+ "layer": {
8774
+ "type": "integer",
8775
+ "minimum": 0,
8776
+ "maximum": 4294967295,
8777
+ "description": "Bitmask of collision layers this collider belongs to; a collides with b when (a.mask & b.layer) or (b.mask & a.layer) is non-zero."
8778
+ },
8779
+ "mask": {
8780
+ "type": "integer",
8781
+ "minimum": 0,
8782
+ "maximum": 4294967295,
8783
+ "description": "Bitmask of layers this collider collides with (see layer for the rule)."
8784
+ },
8785
+ "isStatic": {
8786
+ "type": "boolean",
8787
+ "description": "Static colliders never move and are never pushed by other bodies."
8788
+ }
8789
+ },
8790
+ "required": [
8791
+ "shape",
8792
+ "layer",
8793
+ "mask"
8794
+ ],
8795
+ "additionalProperties": false
8796
+ },
8797
+ {
8798
+ "type": "object",
8799
+ "properties": {
8800
+ "shape": {
8801
+ "type": "string",
8802
+ "const": "aabb",
8803
+ "description": "Axis-aligned box collider in the XZ plane."
8804
+ },
8805
+ "halfExtents": {
8806
+ "minItems": 2,
8807
+ "maxItems": 2,
8808
+ "type": "array",
8809
+ "items": {
8810
+ "type": "number",
8811
+ "exclusiveMinimum": 0
8812
+ },
8813
+ "description": "Half-extents [x, z] in meters of the box in the XZ plane (2.5D; default [0.5, 0.5])."
8814
+ },
8815
+ "layer": {
8816
+ "type": "integer",
8817
+ "minimum": 0,
8818
+ "maximum": 4294967295,
8819
+ "description": "Bitmask of collision layers this collider belongs to; a collides with b when (a.mask & b.layer) or (b.mask & a.layer) is non-zero."
8820
+ },
8821
+ "mask": {
8822
+ "type": "integer",
8823
+ "minimum": 0,
8824
+ "maximum": 4294967295,
8825
+ "description": "Bitmask of layers this collider collides with (see layer for the rule)."
8826
+ },
8827
+ "isStatic": {
8828
+ "type": "boolean",
8829
+ "description": "Static colliders never move and are never pushed by other bodies."
8830
+ }
8831
+ },
8832
+ "required": [
8833
+ "shape",
8834
+ "layer",
8835
+ "mask"
8836
+ ],
8837
+ "additionalProperties": false
8838
+ }
8839
+ ]
8840
+ }
8841
+ ```
8842
+
8843
+ </details>
8844
+
8845
+ ### `kinematicBody`
8846
+
8847
+ Velocity-driven body for the kinematic collision layer.
8848
+
8849
+ Required: `vel`, `slide`
8850
+
8851
+ ```json
8852
+ {
8853
+ "vel": [
8854
+ 0,
8855
+ 0,
8856
+ 0
8857
+ ],
8858
+ "slide": true
8859
+ }
8860
+ ```
8861
+
8862
+ <details>
8863
+ <summary>JSON Schema</summary>
8864
+
8865
+ ```json
8866
+ {
8867
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
8868
+ "type": "object",
8869
+ "properties": {
8870
+ "vel": {
8871
+ "minItems": 3,
8872
+ "maxItems": 3,
8873
+ "type": "array",
8874
+ "items": {
8875
+ "type": "number"
8876
+ },
8877
+ "description": "Velocity [x, y, z] in meters per second, integrated each tick (dt = 1/tickRate)."
8878
+ },
8879
+ "slide": {
8880
+ "type": "boolean",
8881
+ "description": "When true, blocked motion slides along the contact surface instead of stopping."
8882
+ }
8883
+ },
8884
+ "required": [
8885
+ "vel",
8886
+ "slide"
8887
+ ],
8888
+ "additionalProperties": false
8889
+ }
8890
+ ```
8891
+
8892
+ </details>
8893
+
8894
+ ## Owner: kernel/vehicles
8895
+
8896
+ ### `mountable`
8897
+
8898
+ Mount points in local meters, ordered safe exit candidates, and interaction reach. Seat position is the rider camera anchor.
8899
+
8900
+ Required: `seats`, `exits`, `reach`
8901
+
8902
+ ```json
8903
+ {
8904
+ "seats": [
8905
+ {
8906
+ "id": "driver",
8907
+ "role": "driver",
8908
+ "position": [
8909
+ 0.4,
8910
+ 1.14,
8911
+ 0.25
8912
+ ]
8913
+ }
8914
+ ],
8915
+ "exits": [
8916
+ [
8917
+ -1.56,
8918
+ 0,
7616
8919
  0.25
7617
8920
  ],
7618
8921
  [
@@ -7834,6 +9137,168 @@ Required: `kind`, `color`, `spec`, `visual`
7834
9137
  "spec": {
7835
9138
  "type": "object",
7836
9139
  "properties": {
9140
+ "collisionParts": {
9141
+ "description": "Independent wheels, panels and engines: model-space sphere probes, joint strength in m/s and GLB node ownership.",
9142
+ "maxItems": 64,
9143
+ "type": "array",
9144
+ "items": {
9145
+ "type": "object",
9146
+ "properties": {
9147
+ "id": {
9148
+ "type": "string",
9149
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
9150
+ "description": "Unique part id used by damage and debris state."
9151
+ },
9152
+ "role": {
9153
+ "type": "string",
9154
+ "enum": [
9155
+ "frontWheel",
9156
+ "rearWheel",
9157
+ "panel",
9158
+ "engine"
9159
+ ],
9160
+ "description": "Wheel axle, exterior panel or drivetrain role."
9161
+ },
9162
+ "hinge": {
9163
+ "description": "Panel hinge driven by the named vehicle actuator.",
9164
+ "type": "object",
9165
+ "properties": {
9166
+ "pivot": {
9167
+ "minItems": 3,
9168
+ "maxItems": 3,
9169
+ "type": "array",
9170
+ "items": {
9171
+ "type": "number"
9172
+ },
9173
+ "description": "Hinge pivot in model coordinates, meters."
9174
+ },
9175
+ "axis": {
9176
+ "minItems": 3,
9177
+ "maxItems": 3,
9178
+ "type": "array",
9179
+ "items": {
9180
+ "type": "number"
9181
+ },
9182
+ "description": "Unit hinge axis in model coordinates."
9183
+ },
9184
+ "angle": {
9185
+ "type": "number",
9186
+ "description": "Hinge rotation in radians at full actuator travel."
9187
+ },
9188
+ "actuator": {
9189
+ "type": "string",
9190
+ "minLength": 1,
9191
+ "description": "Vehicle actuator id supplying hinge travel."
9192
+ }
9193
+ },
9194
+ "required": [
9195
+ "pivot",
9196
+ "axis",
9197
+ "angle",
9198
+ "actuator"
9199
+ ],
9200
+ "additionalProperties": false
9201
+ },
9202
+ "center": {
9203
+ "minItems": 3,
9204
+ "maxItems": 3,
9205
+ "type": "array",
9206
+ "items": {
9207
+ "type": "number"
9208
+ },
9209
+ "description": "Debris origin in model coordinates, meters."
9210
+ },
9211
+ "probes": {
9212
+ "minItems": 1,
9213
+ "maxItems": 64,
9214
+ "type": "array",
9215
+ "items": {
9216
+ "minItems": 3,
9217
+ "maxItems": 3,
9218
+ "type": "array",
9219
+ "items": {
9220
+ "type": "number"
9221
+ }
9222
+ },
9223
+ "description": "Sphere centers in model coordinates, meters."
9224
+ },
9225
+ "radius": {
9226
+ "type": "number",
9227
+ "exclusiveMinimum": 0,
9228
+ "description": "Probe and debris collision radius, meters."
9229
+ },
9230
+ "massFraction": {
9231
+ "type": "number",
9232
+ "exclusiveMinimum": 0,
9233
+ "maximum": 1,
9234
+ "description": "Share of the original mass removed on separation."
9235
+ },
9236
+ "breakSpeed": {
9237
+ "type": "number",
9238
+ "exclusiveMinimum": 0,
9239
+ "description": "Normal impact speed that breaks an intact joint, m/s."
9240
+ },
9241
+ "nodes": {
9242
+ "minItems": 1,
9243
+ "type": "array",
9244
+ "items": {
9245
+ "type": "string",
9246
+ "minLength": 1
9247
+ },
9248
+ "description": "Exact GLB node names owned by this part."
9249
+ }
9250
+ },
9251
+ "required": [
9252
+ "id",
9253
+ "role",
9254
+ "center",
9255
+ "probes",
9256
+ "radius",
9257
+ "massFraction",
9258
+ "breakSpeed",
9259
+ "nodes"
9260
+ ],
9261
+ "additionalProperties": false
9262
+ }
9263
+ },
9264
+ "actuators": {
9265
+ "description": "External actuators setting.",
9266
+ "type": "object",
9267
+ "propertyNames": {
9268
+ "type": "string",
9269
+ "maxLength": 64,
9270
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
9271
+ },
9272
+ "additionalProperties": {
9273
+ "type": "object",
9274
+ "properties": {
9275
+ "seconds": {
9276
+ "type": "number",
9277
+ "minimum": 0,
9278
+ "description": "Seconds for full travel or a full cycle."
9279
+ },
9280
+ "initial": {
9281
+ "description": "Rest position or phase; defaults to zero.",
9282
+ "type": "number",
9283
+ "minimum": 0,
9284
+ "maximum": 1
9285
+ },
9286
+ "mode": {
9287
+ "description": "Position by default. Cycles park when off; latches cannot reverse.",
9288
+ "type": "string",
9289
+ "enum": [
9290
+ "position",
9291
+ "cycle",
9292
+ "latch"
9293
+ ]
9294
+ }
9295
+ },
9296
+ "required": [
9297
+ "seconds"
9298
+ ],
9299
+ "additionalProperties": false
9300
+ }
9301
+ },
7837
9302
  "label": {
7838
9303
  "type": "string",
7839
9304
  "minLength": 1,
@@ -8713,6 +10178,27 @@ Required: `throttle`, `steering`, `brake`
8713
10178
  "$schema": "https://json-schema.org/draft/2020-12/schema",
8714
10179
  "type": "object",
8715
10180
  "properties": {
10181
+ "actuators": {
10182
+ "description": "Mechanism targets from zero to one, or on/off selections.",
10183
+ "type": "object",
10184
+ "propertyNames": {
10185
+ "type": "string",
10186
+ "maxLength": 64,
10187
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
10188
+ },
10189
+ "additionalProperties": {
10190
+ "anyOf": [
10191
+ {
10192
+ "type": "number",
10193
+ "minimum": 0,
10194
+ "maximum": 1
10195
+ },
10196
+ {
10197
+ "type": "boolean"
10198
+ }
10199
+ ]
10200
+ }
10201
+ },
8716
10202
  "throttle": {
8717
10203
  "type": "number",
8718
10204
  "minimum": -1,
@@ -8773,6 +10259,114 @@ Required: `speed`, `steer`, `yaw`, `pitch`, `roll`, `vy`, `grounded`, `waitingFo
8773
10259
  "$schema": "https://json-schema.org/draft/2020-12/schema",
8774
10260
  "type": "object",
8775
10261
  "properties": {
10262
+ "damage": {
10263
+ "description": "Persistent joint integrity and separation, keyed by collision part id.",
10264
+ "type": "object",
10265
+ "propertyNames": {
10266
+ "type": "string"
10267
+ },
10268
+ "additionalProperties": {
10269
+ "type": "object",
10270
+ "properties": {
10271
+ "integrity": {
10272
+ "type": "number",
10273
+ "minimum": 0,
10274
+ "maximum": 1
10275
+ },
10276
+ "detached": {
10277
+ "type": "boolean"
10278
+ }
10279
+ },
10280
+ "required": [
10281
+ "integrity",
10282
+ "detached"
10283
+ ],
10284
+ "additionalProperties": false
10285
+ }
10286
+ },
10287
+ "debris": {
10288
+ "description": "Detached parts in world coordinates; expire after 20 simulated seconds without repairing the vehicle.",
10289
+ "maxItems": 64,
10290
+ "type": "array",
10291
+ "items": {
10292
+ "type": "object",
10293
+ "properties": {
10294
+ "part": {
10295
+ "type": "string",
10296
+ "minLength": 1,
10297
+ "description": "Collision part id of the separated geometry."
10298
+ },
10299
+ "pos": {
10300
+ "minItems": 3,
10301
+ "maxItems": 3,
10302
+ "type": "array",
10303
+ "items": {
10304
+ "type": "number"
10305
+ },
10306
+ "description": "Debris origin in world coordinates, meters."
10307
+ },
10308
+ "rot": {
10309
+ "minItems": 4,
10310
+ "maxItems": 4,
10311
+ "type": "array",
10312
+ "items": {
10313
+ "type": "number"
10314
+ },
10315
+ "description": "Debris orientation as a quaternion."
10316
+ },
10317
+ "velocity": {
10318
+ "minItems": 3,
10319
+ "maxItems": 3,
10320
+ "type": "array",
10321
+ "items": {
10322
+ "type": "number"
10323
+ },
10324
+ "description": "World-space linear velocity, m/s."
10325
+ },
10326
+ "angularVelocity": {
10327
+ "minItems": 3,
10328
+ "maxItems": 3,
10329
+ "type": "array",
10330
+ "items": {
10331
+ "type": "number"
10332
+ },
10333
+ "description": "Local angular velocity about X, Y and Z, radians/s."
10334
+ },
10335
+ "age": {
10336
+ "type": "number",
10337
+ "minimum": 0,
10338
+ "description": "Elapsed simulation seconds since separation."
10339
+ }
10340
+ },
10341
+ "required": [
10342
+ "part",
10343
+ "pos",
10344
+ "rot",
10345
+ "velocity",
10346
+ "angularVelocity",
10347
+ "age"
10348
+ ],
10349
+ "additionalProperties": false
10350
+ }
10351
+ },
10352
+ "actuators": {
10353
+ "description": "Current mechanism positions and cycle phases, from zero to one.",
10354
+ "type": "object",
10355
+ "propertyNames": {
10356
+ "type": "string",
10357
+ "maxLength": 64,
10358
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
10359
+ },
10360
+ "additionalProperties": {
10361
+ "type": "number",
10362
+ "minimum": 0,
10363
+ "maximum": 1
10364
+ }
10365
+ },
10366
+ "boosted": {
10367
+ "description": "Speeds include the 4× travel boost; kernel-owned.",
10368
+ "type": "boolean"
10369
+ },
8776
10370
  "speed": {
8777
10371
  "type": "number",
8778
10372
  "description": "Signed forward speed in meters per second."
@@ -8958,11 +10552,11 @@ Required: none
8958
10552
  "exclusiveMinimum": 0
8959
10553
  },
8960
10554
  "clouds": {
8961
- "description": "World-anchored, wind-advected cloud layer. Does not imply precipitation.",
10555
+ "description": "World-anchored, wind-advected volumetric cloud layer of one type, plus an optional high cirrus layer. Does not imply precipitation.",
8962
10556
  "type": "object",
8963
10557
  "properties": {
8964
10558
  "coverage": {
8965
- "description": "Sky coverage 0–1, default 0; controls breaks in the procedural layer.",
10559
+ "description": "Sky coverage 0–1, default 0: the share of the sky the layer covers; 1 closes it.",
8966
10560
  "type": "number",
8967
10561
  "minimum": 0,
8968
10562
  "maximum": 1
@@ -8978,7 +10572,7 @@ Required: none
8978
10572
  "type": "number"
8979
10573
  },
8980
10574
  "thickness": {
8981
- "description": "Vertical layer thickness in meters, default 600.",
10575
+ "description": "Depth of the layer from base to top in meters, default 600.",
8982
10576
  "type": "number",
8983
10577
  "exclusiveMinimum": 0
8984
10578
  },
@@ -8986,6 +10580,26 @@ Required: none
8986
10580
  "description": "Horizontal cloud-pattern repeat size in meters, default 16000.",
8987
10581
  "type": "number",
8988
10582
  "exclusiveMinimum": 0
10583
+ },
10584
+ "type": {
10585
+ "description": "Cloud type of the layer, default cumulus: separate heaps; stratocumulus a lumpy closed layer; stratus a flat sheet; cumulonimbus towering storm cells (give them a thick layer).",
10586
+ "type": "string",
10587
+ "enum": [
10588
+ "cumulus",
10589
+ "stratocumulus",
10590
+ "stratus",
10591
+ "cumulonimbus"
10592
+ ]
10593
+ },
10594
+ "cirrus": {
10595
+ "description": "Coverage 0–1 of a thin, wispy high cirrus layer, default 0. Independent of the main layer.",
10596
+ "type": "number",
10597
+ "minimum": 0,
10598
+ "maximum": 1
10599
+ },
10600
+ "cirrusAltitude": {
10601
+ "description": "Cirrus layer at absolute world Y in meters, default 9000.",
10602
+ "type": "number"
8989
10603
  }
8990
10604
  },
8991
10605
  "additionalProperties": false