@bendyline/molen-tooling 0.0.9 → 0.0.10

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 (85) hide show
  1. package/dist/capture/harness.js +239 -236
  2. package/dist/capture/worldgen-preview.js +215 -215
  3. package/dist/cli.mjs +6 -5
  4. package/dist/docs-src/guide/adaptive-performance.md +5 -2
  5. package/dist/docs-src/guide/aircraft.md +113 -40
  6. package/dist/docs-src/guide/ambient-life.md +100 -11
  7. package/dist/docs-src/guide/audio.md +1 -1
  8. package/dist/docs-src/guide/boats.md +99 -0
  9. package/dist/docs-src/guide/determinism.md +1 -1
  10. package/dist/docs-src/guide/dioramas.md +167 -0
  11. package/dist/docs-src/guide/earth-view.md +241 -3
  12. package/dist/docs-src/guide/entities.md +32 -1
  13. package/dist/docs-src/guide/figures.md +7 -1
  14. package/dist/docs-src/guide/graphics-performance.md +16 -3
  15. package/dist/docs-src/guide/medium-fi.md +15 -6
  16. package/dist/docs-src/guide/sky.md +3 -2
  17. package/dist/docs-src/guide/surface-rendering.md +4 -1
  18. package/dist/docs-src/guide/vehicle-interiors.md +40 -2
  19. package/dist/docs-src/guide/vehicles.md +121 -19
  20. package/dist/docs-src/guide/weather.md +45 -3
  21. package/dist/docs-src/guide/worldgen.md +8 -0
  22. package/dist/docs-src/llms.txt +6 -4
  23. package/dist/docs-src/schemas/archstyle.md +114 -0
  24. package/dist/docs-src/schemas/components.md +1589 -137
  25. package/dist/docs-src/schemas/scene.md +6 -3
  26. package/dist/docs-src/schemas/transport-network.md +4 -2
  27. package/dist/index.mjs +1 -1
  28. package/dist/{mcp-BbHk4ibu.mjs → mcp-BbxqqnD1.mjs} +3 -2
  29. package/dist/{ops-CErtZh2t.mjs → ops-b4Pag8U-.mjs} +7 -5
  30. package/dist/templates/city-courier/README.md +18 -0
  31. package/dist/templates/city-courier/gen/molen-types.ts +217 -15
  32. package/dist/templates/city-courier/index.html +1 -1
  33. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +219 -17
  34. package/dist/templates/city-courier/src/audio.ts +26 -4
  35. package/dist/templates/city-courier/src/game-shell.css +7 -3
  36. package/dist/templates/city-courier/src/main.ts +25 -3
  37. package/dist/templates/city-courier/src/shared/accessibility.css +325 -0
  38. package/dist/templates/city-courier/src/shared/game-controls.ts +406 -0
  39. package/dist/templates/city-courier/src/shared/game-descriptions.ts +143 -0
  40. package/dist/templates/city-courier/src/shared/playback.ts +146 -0
  41. package/dist/templates/city-courier/src/worker.ts +5 -1
  42. package/dist/templates/cubes/index.html +6 -1
  43. package/dist/templates/cubes/src/main.ts +25 -2
  44. package/dist/templates/cubes/src/shared/accessibility.css +325 -0
  45. package/dist/templates/cubes/src/shared/playback.ts +146 -0
  46. package/dist/templates/cubes/src/vite-env.d.ts +1 -0
  47. package/dist/templates/cubes/src/worker.ts +1 -0
  48. package/dist/templates/data-viz/README.md +4 -0
  49. package/dist/templates/data-viz/index.html +6 -1
  50. package/dist/templates/data-viz/src/main.ts +53 -11
  51. package/dist/templates/data-viz/src/shared/accessibility.css +325 -0
  52. package/dist/templates/data-viz/src/shared/playback.ts +146 -0
  53. package/dist/templates/data-viz/src/vite-env.d.ts +1 -0
  54. package/dist/templates/data-viz/src/worker.ts +1 -0
  55. package/dist/templates/figures-gallery/index.html +6 -1
  56. package/dist/templates/figures-gallery/src/main.ts +21 -2
  57. package/dist/templates/figures-gallery/src/shared/accessibility.css +325 -0
  58. package/dist/templates/figures-gallery/src/shared/playback.ts +146 -0
  59. package/dist/templates/figures-gallery/src/vite-env.d.ts +1 -0
  60. package/dist/templates/figures-gallery/src/worker.ts +1 -0
  61. package/dist/templates/index.json +36 -16
  62. package/dist/templates/skybound/README.md +18 -0
  63. package/dist/templates/skybound/gen/molen-types.ts +217 -15
  64. package/dist/templates/skybound/index.html +1 -1
  65. package/dist/templates/skybound/scripts/molen-scripts.d.ts +219 -17
  66. package/dist/templates/skybound/src/audio.ts +26 -4
  67. package/dist/templates/skybound/src/game-shell.css +7 -3
  68. package/dist/templates/skybound/src/main.ts +25 -3
  69. package/dist/templates/skybound/src/shared/accessibility.css +325 -0
  70. package/dist/templates/skybound/src/shared/game-controls.ts +406 -0
  71. package/dist/templates/skybound/src/shared/game-descriptions.ts +143 -0
  72. package/dist/templates/skybound/src/shared/playback.ts +146 -0
  73. package/dist/templates/skybound/src/worker.ts +1 -1
  74. package/dist/templates/terrain-flyover/README.md +5 -1
  75. package/dist/templates/terrain-flyover/index.html +4 -1
  76. package/dist/templates/terrain-flyover/src/main.ts +40 -39
  77. package/dist/templates/top-down-arena/index.html +6 -1
  78. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +219 -17
  79. package/dist/templates/top-down-arena/src/audio.ts +26 -4
  80. package/dist/templates/top-down-arena/src/gen/molen-types.ts +217 -15
  81. package/dist/templates/top-down-arena/src/main.ts +31 -5
  82. package/dist/templates/top-down-arena/src/shared/accessibility.css +325 -0
  83. package/dist/templates/top-down-arena/src/shared/playback.ts +146 -0
  84. package/dist/templates/top-down-arena/src/worker.ts +1 -1
  85. package/package.json +12 -12
@@ -37,13 +37,16 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
37
37
  | `aircraft` | kernel/aircraft | External airplane/helicopter instance. Y up, Z forward; landing-contact origin. |
38
38
  | `aircraftInput` | kernel/aircraft | Pilot flight controls. Power is retained when input keys are released. |
39
39
  | `aircraftState` | kernel/aircraft | Deterministic flight state, including rotor phase and engine spool, preserved by keyframes. |
40
- | `ambientAgent` | ambient | Kernel-owned state of an ambient NPC (car, pedestrian, train car or aircraft): its lane, position along it, speed and routing. Read it; the ambient systems write it. |
40
+ | `ambientAgent` | ambient | Kernel-owned state of an ambient NPC (car, pedestrian, train car, aircraft or boat): its lane, position along it, speed and routing. Read it; the ambient systems write it. |
41
41
  | `ambientObserver` | ambient | Marks the entity ambient NPCs spawn around (usually the player or camera rig), with optional radius and density overrides. |
42
- | `ambientRole` | ambient | On an entity type: makes it an ambient NPC candidate (car, bus, rail car or aircraft) with dimensions, speeds and spawn weight. |
42
+ | `ambientRole` | ambient | On an entity type: makes it an ambient NPC candidate (car, bus, rail car, aircraft, boat or ferry) with dimensions, speeds and spawn weight. |
43
43
  | `ambientState` | ambient | Kernel-owned ambient bookkeeping on the `$ambient` entity: observer, spawn sequence and policy overrides. |
44
44
  | `audioEnvironment` | audio | Singleton soundscape rules: bus gains, ambience layers gated on weather/sky/listener signals, music playlist, event → sound mappings and listener footsteps. |
45
45
  | `audioSource` | audio | Sound emitter on an entity: a sound-bank id, loop/autoplay, gain and pitch driven by signals (vehicleState.speed, listener.distance…), and one-shot triggers. Positional when the entity has a transform. Render-side only; see guide/audio.md. |
46
46
  | `audioZone` | audio | Area ambience: a looping sound that fades in as the listener enters a sphere or box around the entity (a waterfall, a machine room, a market). |
47
+ | `boat` | kernel/boats | Waterline-aligned powered hull with data-driven handling and shared seats. |
48
+ | `boatInput` | kernel/boats | Helm intent: signed thrust, steering and low-speed anchor. Only the driver controls it. |
49
+ | `boatState` | kernel/boats | Snapshot-safe hull motion, buoyancy and anchoring; owned by installBoats. |
47
50
  | `character` | kernel/character | Kinematic character controller state (speed/jump/gravity + kernel-owned vy/grounded). |
48
51
  | `collider` | kernel/kinematics | 2.5D kinematic collider (circle or XZ AABB) with layer/mask bitmasks. |
49
52
  | `collider3d` | physics-rapier | 3D collider (ball/cuboid/capsule/hull/trimesh/asset/heightfield) with layer/mask, sensor, and material params. Static without a rigidbody. |
@@ -77,9 +80,10 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
77
80
  | `transform` | kernel | World position + orientation. pos is required; rot defaults to identity. |
78
81
  | `tween` | kernel/gameplay | Data-driven value animation over ticks: component + select-style path, lerp with easing. |
79
82
  | `vehicle` | kernel/vehicles | External wheeled-vehicle instance: stable id, paint, complete physics tuning, and GLB bindings. |
80
- | `vehicleInput` | kernel/vehicles | Driver intent: signed throttle (negative brakes then reverses), signed steering (positive right), brake/handbrake. |
83
+ | `vehicleInput` | kernel/vehicles | Driver intent: signed throttle (negative brakes then reverses), signed steering (positive right), service brake and optional handbrake. |
81
84
  | `vehicleState` | kernel/vehicles | Snapshot-safe chassis state. Speeds in m/s, angles in radians; owned by installVehicles. |
82
85
  | `velocity` | physics-rapier | Opt-in per-tick body velocity mirror (presence = subscription; plugin-written). |
86
+ | `water` | kernel/boats | Deterministic swells and current for boats; heights and coverage come from the host water field. |
83
87
  | `weather` | | Singleton physical atmosphere and visual weather: temperature, pressure, humidity, wind, independent cloud cover, precipitation and visibility. Readable by scripts and physics; see guide/weather.md. |
84
88
  | `worldgenBuilding` | worldgen | A building generated at runtime from an outline in the entity frame, styled by a molen/archstyle@1 in the loaded pack; rendered by the worldgen client entity layer. |
85
89
 
@@ -87,7 +91,7 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
87
91
 
88
92
  ### `ambientAgent`
89
93
 
90
- Kernel-owned state of an ambient NPC (car, pedestrian, train car or aircraft): its lane, position along it, speed and routing. Read it; the ambient systems write it.
94
+ Kernel-owned state of an ambient NPC (car, pedestrian, train car, aircraft or boat): its lane, position along it, speed and routing. Read it; the ambient systems write it.
91
95
 
92
96
  Required: `kind`, `type`, `lane`, `s`, `speed`, `seed`, `length`, `width`, `state`, `since`, `hops`, `spawnedTick`
93
97
 
@@ -123,7 +127,8 @@ Required: `kind`, `type`, `lane`, `s`, `speed`, `seed`, `length`, `width`, `stat
123
127
  "car",
124
128
  "pedestrian",
125
129
  "train",
126
- "aircraft"
130
+ "aircraft",
131
+ "boat"
127
132
  ],
128
133
  "description": "Agent class."
129
134
  },
@@ -148,6 +153,11 @@ Required: `kind`, `type`, `lane`, `s`, `speed`, `seed`, `length`, `width`, `stat
148
153
  "minimum": 0,
149
154
  "description": "Speed along the lane in m/s."
150
155
  },
156
+ "cruise": {
157
+ "type": "number",
158
+ "exclusiveMinimum": 0,
159
+ "description": "Vessel cruise limit in m/s."
160
+ },
151
161
  "prev": {
152
162
  "type": "string",
153
163
  "description": "Previous lane (its connector leads onto `lane`)."
@@ -333,7 +343,7 @@ Required: none
333
343
 
334
344
  ### `ambientRole`
335
345
 
336
- On an entity type: makes it an ambient NPC candidate (car, bus, rail car or aircraft) with dimensions, speeds and spawn weight.
346
+ On an entity type: makes it an ambient NPC candidate (car, bus, rail car, aircraft, boat or ferry) with dimensions, speeds and spawn weight.
337
347
 
338
348
  Required: `role`
339
349
 
@@ -359,7 +369,9 @@ Required: `role`
359
369
  "car",
360
370
  "bus",
361
371
  "rail",
362
- "aircraft"
372
+ "aircraft",
373
+ "boat",
374
+ "ferry"
363
375
  ],
364
376
  "description": "Which ambient pool the type joins (buses drive with cars)."
365
377
  },
@@ -2479,13 +2491,40 @@ Required: `sources`, `bindings`
2479
2491
  "description": "Local transform axis."
2480
2492
  },
2481
2493
  "scale": {
2482
- "type": "number",
2483
- "description": "Multiply the signal by this value."
2494
+ "description": "Multiply the signal by this value. Supply this or keys.",
2495
+ "type": "number"
2484
2496
  },
2485
2497
  "offset": {
2486
2498
  "description": "Offset after scaling; default zero.",
2487
2499
  "type": "number"
2488
2500
  },
2501
+ "keys": {
2502
+ "description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
2503
+ "minItems": 2,
2504
+ "type": "array",
2505
+ "items": {
2506
+ "type": "array",
2507
+ "prefixItems": [
2508
+ {
2509
+ "type": "number"
2510
+ },
2511
+ {
2512
+ "type": "number"
2513
+ }
2514
+ ],
2515
+ "items": false,
2516
+ "minItems": 2,
2517
+ "maxItems": 2
2518
+ }
2519
+ },
2520
+ "ease": {
2521
+ "description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
2522
+ "type": "string",
2523
+ "enum": [
2524
+ "linear",
2525
+ "smooth"
2526
+ ]
2527
+ },
2489
2528
  "min": {
2490
2529
  "description": "Minimum displacement from authored pose.",
2491
2530
  "type": "number"
@@ -2499,8 +2538,7 @@ Required: `sources`, `bindings`
2499
2538
  "node",
2500
2539
  "source",
2501
2540
  "property",
2502
- "axis",
2503
- "scale"
2541
+ "axis"
2504
2542
  ],
2505
2543
  "additionalProperties": false
2506
2544
  },
@@ -3719,17 +3757,14 @@ Required: `kind`, `spec`
3719
3757
  "controlAuthoritySpeed": 45,
3720
3758
  "maxControlAuthority": 1.3,
3721
3759
  "pitchAuthority": 0.4,
3722
- "pitchResponse": 0.75,
3760
+ "pitchResponse": 3,
3723
3761
  "stallPitchRate": 0.18,
3724
3762
  "rollAuthority": 1,
3725
3763
  "rollResponse": 2,
3726
- "rudderAuthority": 0.2,
3764
+ "rudderAuthority": 1,
3727
3765
  "groundSteerSpeed": 8,
3728
- "coordinatedTurnMinSpeed": 25,
3729
3766
  "groundLevelRate": 2,
3730
- "maxPitch": 1.2,
3731
3767
  "maxGroundPitch": 0.2,
3732
- "maxRoll": 1.3,
3733
3768
  "camberAngle": 0.04,
3734
3769
  "flapLift": 0.3,
3735
3770
  "postStallFlapEffect": 0.4,
@@ -3923,6 +3958,19 @@ Required: `kind`, `spec`
3923
3958
  "description": "Minimum propeller advance speed in m/s for the power/thrust calculation; defaults to airplane.minPropellerSpeed.",
3924
3959
  "type": "number",
3925
3960
  "exclusiveMinimum": 0
3961
+ },
3962
+ "propellerRotation": {
3963
+ "description": "Turning direction seen from the cockpit. Clockwise (default) swings the nose left; scaled by airplane.propellerEffects.",
3964
+ "type": "string",
3965
+ "enum": [
3966
+ "clockwise",
3967
+ "counterclockwise"
3968
+ ]
3969
+ },
3970
+ "propellerInertia": {
3971
+ "description": "Propeller polar moment of inertia in kg m², for gyroscopic precession. Default 0.",
3972
+ "type": "number",
3973
+ "minimum": 0
3926
3974
  }
3927
3975
  },
3928
3976
  "required": [
@@ -3997,6 +4045,19 @@ Required: `kind`, `spec`
3997
4045
  "type": "number",
3998
4046
  "exclusiveMinimum": 0
3999
4047
  },
4048
+ "propellerRotation": {
4049
+ "description": "Turning direction seen from the cockpit. Clockwise (default) swings the nose left; scaled by airplane.propellerEffects.",
4050
+ "type": "string",
4051
+ "enum": [
4052
+ "clockwise",
4053
+ "counterclockwise"
4054
+ ]
4055
+ },
4056
+ "propellerInertia": {
4057
+ "description": "Propeller polar moment of inertia in kg m², for gyroscopic precession. Default 0.",
4058
+ "type": "number",
4059
+ "minimum": 0
4060
+ },
4000
4061
  "id": {
4001
4062
  "type": "string",
4002
4063
  "pattern": "^[A-Za-z][A-Za-z0-9_-]*$",
@@ -4036,73 +4097,58 @@ Required: `kind`, `spec`
4036
4097
  "controlAuthoritySpeed": {
4037
4098
  "type": "number",
4038
4099
  "exclusiveMinimum": 0,
4039
- "description": "External controlAuthoritySpeed setting."
4100
+ "description": "Reference equivalent airspeed in m/s for the control, stability and damping rates."
4040
4101
  },
4041
4102
  "maxControlAuthority": {
4042
4103
  "type": "number",
4043
4104
  "exclusiveMinimum": 0,
4044
- "description": "External maxControlAuthority setting."
4105
+ "description": "Cap on aileron, elevator and rudder power relative to the reference speed."
4045
4106
  },
4046
4107
  "pitchAuthority": {
4047
4108
  "type": "number",
4048
4109
  "exclusiveMinimum": 0,
4049
- "description": "External pitchAuthority setting."
4110
+ "description": "Angle of attack in radians that full elevator adds to the trim angle."
4050
4111
  },
4051
4112
  "pitchResponse": {
4052
4113
  "type": "number",
4053
4114
  "exclusiveMinimum": 0,
4054
- "description": "External pitchResponse setting."
4115
+ "description": "Elevator travel per second, in full deflections."
4055
4116
  },
4056
4117
  "stallPitchRate": {
4057
4118
  "type": "number",
4058
4119
  "minimum": 0,
4059
- "description": "External stallPitchRate setting."
4120
+ "description": "Nose-down pitch rate in rad/s at full flow separation (the stall break)."
4060
4121
  },
4061
4122
  "rollAuthority": {
4062
4123
  "type": "number",
4063
4124
  "exclusiveMinimum": 0,
4064
- "description": "External rollAuthority setting."
4125
+ "description": "Roll rate in rad/s at full aileron and reference speed; grows with speed up to maxControlAuthority."
4065
4126
  },
4066
4127
  "rollResponse": {
4067
4128
  "type": "number",
4068
4129
  "exclusiveMinimum": 0,
4069
- "description": "External rollResponse setting."
4130
+ "description": "Roll damping in 1/s at reference speed; grows with airspeed."
4070
4131
  },
4071
4132
  "rudderAuthority": {
4072
4133
  "type": "number",
4073
4134
  "exclusiveMinimum": 0,
4074
- "description": "External rudderAuthority setting."
4135
+ "description": "Yaw acceleration in rad/s² at full rudder and reference speed; propwash keeps some at low speed."
4075
4136
  },
4076
4137
  "groundSteerSpeed": {
4077
4138
  "type": "number",
4078
4139
  "exclusiveMinimum": 0,
4079
- "description": "External groundSteerSpeed setting."
4080
- },
4081
- "coordinatedTurnMinSpeed": {
4082
- "type": "number",
4083
- "exclusiveMinimum": 0,
4084
- "description": "External coordinatedTurnMinSpeed setting."
4140
+ "description": "Ground speed in m/s at which tailwheel steering reaches full turn rate."
4085
4141
  },
4086
4142
  "groundLevelRate": {
4087
4143
  "type": "number",
4088
4144
  "exclusiveMinimum": 0,
4089
4145
  "description": "External groundLevelRate setting."
4090
4146
  },
4091
- "maxPitch": {
4092
- "type": "number",
4093
- "exclusiveMinimum": 0,
4094
- "description": "External maxPitch setting."
4095
- },
4096
4147
  "maxGroundPitch": {
4097
4148
  "type": "number",
4098
4149
  "exclusiveMinimum": 0,
4099
4150
  "description": "External maxGroundPitch setting."
4100
4151
  },
4101
- "maxRoll": {
4102
- "type": "number",
4103
- "exclusiveMinimum": 0,
4104
- "description": "External maxRoll setting."
4105
- },
4106
4152
  "camberAngle": {
4107
4153
  "type": "number",
4108
4154
  "description": "External camberAngle setting."
@@ -4127,20 +4173,65 @@ Required: `kind`, `spec`
4127
4173
  "type": "number",
4128
4174
  "exclusiveMinimum": 0
4129
4175
  },
4130
- "yawStability": {
4131
- "description": "Sideslip restoring yaw rate per radian at reference airspeed, in 1/s. Default 1.",
4176
+ "pitchFrequency": {
4177
+ "description": "Short-period natural frequency in rad/s at reference speed. Default 3.5.",
4178
+ "type": "number",
4179
+ "exclusiveMinimum": 0
4180
+ },
4181
+ "pitchDamping": {
4182
+ "description": "Short-period damping ratio. Default 0.7.",
4183
+ "type": "number",
4184
+ "exclusiveMinimum": 0
4185
+ },
4186
+ "maxLoadFactor": {
4187
+ "description": "Load factor in g that full back stick pulls at high speed. Default 6.",
4188
+ "type": "number",
4189
+ "exclusiveMinimum": 0
4190
+ },
4191
+ "minLoadFactor": {
4192
+ "description": "Load factor in g that full forward stick pushes at high speed. Default -3.",
4193
+ "type": "number",
4194
+ "exclusiveMaximum": 0
4195
+ },
4196
+ "autoTrim": {
4197
+ "description": "Rate in 1/s at which trim follows the angle of attack that holds the flight path; 0 leaves trim fixed. Default 1.",
4198
+ "type": "number",
4199
+ "minimum": 0
4200
+ },
4201
+ "directionalStability": {
4202
+ "description": "Weathercock stiffness: yaw acceleration in rad/s² per radian of sideslip at reference speed. Default 4.",
4132
4203
  "type": "number",
4133
4204
  "minimum": 0
4134
4205
  },
4206
+ "yawDamping": {
4207
+ "description": "Yaw damping in 1/s at reference speed. Default 1.2.",
4208
+ "type": "number",
4209
+ "minimum": 0
4210
+ },
4211
+ "dihedralEffect": {
4212
+ "description": "Roll acceleration in rad/s² per radian of sideslip at reference speed, away from the slip. Default 3.",
4213
+ "type": "number"
4214
+ },
4215
+ "rollInertia": {
4216
+ "description": "Roll inertia in kg m². Default mass * (0.14 * span)².",
4217
+ "type": "number",
4218
+ "exclusiveMinimum": 0
4219
+ },
4220
+ "pitchInertia": {
4221
+ "description": "Pitch inertia in kg m². Default mass * (0.18 * length)².",
4222
+ "type": "number",
4223
+ "exclusiveMinimum": 0
4224
+ },
4135
4225
  "yawInertia": {
4136
4226
  "description": "Yaw inertia in kg m². Default mass * (span² + length²) / 12.",
4137
4227
  "type": "number",
4138
4228
  "exclusiveMinimum": 0
4139
4229
  },
4140
- "thrustYawDamping": {
4141
- "description": "Thrust-induced yaw-rate damping in 1/s at reference airspeed. Default 1.2; scales with airspeed with a 20% floor.",
4230
+ "propellerEffects": {
4231
+ "description": "Scale of propeller torque, P-factor and slipstream yaw, and gyroscopic precession; 0 disables them. Default 0.",
4142
4232
  "type": "number",
4143
- "minimum": 0
4233
+ "minimum": 0,
4234
+ "maximum": 1
4144
4235
  },
4145
4236
  "stallSpeed": {
4146
4237
  "type": "number",
@@ -4175,12 +4266,22 @@ Required: `kind`, `spec`
4175
4266
  "gearDrag": {
4176
4267
  "type": "number",
4177
4268
  "minimum": 0,
4178
- "description": "External gearDrag setting."
4269
+ "description": "Drag coefficient of the landing gear fully down; scales with the gear position."
4179
4270
  },
4180
4271
  "flapDrag": {
4181
4272
  "type": "number",
4182
4273
  "minimum": 0,
4183
- "description": "External flapDrag setting."
4274
+ "description": "Drag coefficient of the flaps fully down; scales with the flap position."
4275
+ },
4276
+ "gearTransitTime": {
4277
+ "description": "Seconds for a full landing-gear cycle, doors included, either way. The gear holds still with weight on the wheels, and only a locked-down gear can land. Default 0 (instant).",
4278
+ "type": "number",
4279
+ "minimum": 0
4280
+ },
4281
+ "flapTransitTime": {
4282
+ "description": "Seconds for the flaps to travel fully up to fully down. Default 0 (instant).",
4283
+ "type": "number",
4284
+ "minimum": 0
4184
4285
  },
4185
4286
  "stallDrag": {
4186
4287
  "type": "number",
@@ -4220,7 +4321,7 @@ Required: `kind`, `spec`
4220
4321
  "groundTrackRate": {
4221
4322
  "type": "number",
4222
4323
  "exclusiveMinimum": 0,
4223
- "description": "External groundTrackRate setting."
4324
+ "description": "Tire side grip with full weight on the wheels: lateral deceleration in m/s² and yaw grip in 1/s."
4224
4325
  }
4225
4326
  },
4226
4327
  "required": [
@@ -4235,11 +4336,8 @@ Required: `kind`, `spec`
4235
4336
  "rollResponse",
4236
4337
  "rudderAuthority",
4237
4338
  "groundSteerSpeed",
4238
- "coordinatedTurnMinSpeed",
4239
4339
  "groundLevelRate",
4240
- "maxPitch",
4241
4340
  "maxGroundPitch",
4242
- "maxRoll",
4243
4341
  "camberAngle",
4244
4342
  "flapLift",
4245
4343
  "postStallFlapEffect",
@@ -4452,7 +4550,7 @@ Required: `kind`, `spec`
4452
4550
  "type": "string",
4453
4551
  "minLength": 1
4454
4552
  },
4455
- "description": "External gearNodes setting."
4553
+ "description": "Nodes hidden while the landing gear is fully up."
4456
4554
  },
4457
4555
  "flaps": {
4458
4556
  "type": "array",
@@ -4485,7 +4583,7 @@ Required: `kind`, `spec`
4485
4583
  ],
4486
4584
  "additionalProperties": false
4487
4585
  },
4488
- "description": "External flaps setting."
4586
+ "description": "Flap nodes turned by multiplier radians at full travel, in proportion to the flap position."
4489
4587
  },
4490
4588
  "ailerons": {
4491
4589
  "type": "array",
@@ -4677,13 +4775,40 @@ Required: `kind`, `spec`
4677
4775
  "description": "Local transform axis."
4678
4776
  },
4679
4777
  "scale": {
4680
- "type": "number",
4681
- "description": "Multiply the signal by this value."
4778
+ "description": "Multiply the signal by this value. Supply this or keys.",
4779
+ "type": "number"
4682
4780
  },
4683
4781
  "offset": {
4684
4782
  "description": "Offset after scaling; default zero.",
4685
4783
  "type": "number"
4686
4784
  },
4785
+ "keys": {
4786
+ "description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
4787
+ "minItems": 2,
4788
+ "type": "array",
4789
+ "items": {
4790
+ "type": "array",
4791
+ "prefixItems": [
4792
+ {
4793
+ "type": "number"
4794
+ },
4795
+ {
4796
+ "type": "number"
4797
+ }
4798
+ ],
4799
+ "items": false,
4800
+ "minItems": 2,
4801
+ "maxItems": 2
4802
+ }
4803
+ },
4804
+ "ease": {
4805
+ "description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
4806
+ "type": "string",
4807
+ "enum": [
4808
+ "linear",
4809
+ "smooth"
4810
+ ]
4811
+ },
4687
4812
  "min": {
4688
4813
  "description": "Minimum displacement from authored pose.",
4689
4814
  "type": "number"
@@ -4697,8 +4822,7 @@ Required: `kind`, `spec`
4697
4822
  "node",
4698
4823
  "source",
4699
4824
  "property",
4700
- "axis",
4701
- "scale"
4825
+ "axis"
4702
4826
  ],
4703
4827
  "additionalProperties": false
4704
4828
  },
@@ -4710,6 +4834,143 @@ Required: `kind`, `spec`
4710
4834
  "bindings"
4711
4835
  ],
4712
4836
  "additionalProperties": false
4837
+ },
4838
+ "animation": {
4839
+ "description": "External animation setting.",
4840
+ "type": "object",
4841
+ "properties": {
4842
+ "sources": {
4843
+ "description": "Optional component fields overriding or extending host telemetry.",
4844
+ "type": "object",
4845
+ "propertyNames": {
4846
+ "type": "string",
4847
+ "minLength": 1
4848
+ },
4849
+ "additionalProperties": {
4850
+ "type": "object",
4851
+ "properties": {
4852
+ "component": {
4853
+ "type": "string",
4854
+ "minLength": 1,
4855
+ "description": "Component on this same entity."
4856
+ },
4857
+ "path": {
4858
+ "minItems": 1,
4859
+ "type": "array",
4860
+ "items": {
4861
+ "anyOf": [
4862
+ {
4863
+ "type": "string",
4864
+ "minLength": 1
4865
+ },
4866
+ {
4867
+ "type": "integer",
4868
+ "minimum": 0,
4869
+ "maximum": 9007199254740991
4870
+ }
4871
+ ]
4872
+ },
4873
+ "description": "Explicit property names or array indices leading to a number or boolean."
4874
+ }
4875
+ },
4876
+ "required": [
4877
+ "component",
4878
+ "path"
4879
+ ],
4880
+ "additionalProperties": false
4881
+ }
4882
+ },
4883
+ "bindings": {
4884
+ "type": "array",
4885
+ "items": {
4886
+ "type": "object",
4887
+ "properties": {
4888
+ "node": {
4889
+ "type": "string",
4890
+ "minLength": 1,
4891
+ "description": "Exact loaded GLB node name."
4892
+ },
4893
+ "source": {
4894
+ "type": "string",
4895
+ "minLength": 1,
4896
+ "description": "Named simulation signal."
4897
+ },
4898
+ "property": {
4899
+ "type": "string",
4900
+ "enum": [
4901
+ "rotation",
4902
+ "position"
4903
+ ],
4904
+ "description": "Local transform channel."
4905
+ },
4906
+ "axis": {
4907
+ "type": "string",
4908
+ "enum": [
4909
+ "x",
4910
+ "y",
4911
+ "z"
4912
+ ],
4913
+ "description": "Local transform axis."
4914
+ },
4915
+ "scale": {
4916
+ "description": "Multiply the signal by this value. Supply this or keys.",
4917
+ "type": "number"
4918
+ },
4919
+ "offset": {
4920
+ "description": "Offset after scaling; default zero.",
4921
+ "type": "number"
4922
+ },
4923
+ "keys": {
4924
+ "description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
4925
+ "minItems": 2,
4926
+ "type": "array",
4927
+ "items": {
4928
+ "type": "array",
4929
+ "prefixItems": [
4930
+ {
4931
+ "type": "number"
4932
+ },
4933
+ {
4934
+ "type": "number"
4935
+ }
4936
+ ],
4937
+ "items": false,
4938
+ "minItems": 2,
4939
+ "maxItems": 2
4940
+ }
4941
+ },
4942
+ "ease": {
4943
+ "description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
4944
+ "type": "string",
4945
+ "enum": [
4946
+ "linear",
4947
+ "smooth"
4948
+ ]
4949
+ },
4950
+ "min": {
4951
+ "description": "Minimum displacement from authored pose.",
4952
+ "type": "number"
4953
+ },
4954
+ "max": {
4955
+ "description": "Maximum displacement from authored pose.",
4956
+ "type": "number"
4957
+ }
4958
+ },
4959
+ "required": [
4960
+ "node",
4961
+ "source",
4962
+ "property",
4963
+ "axis"
4964
+ ],
4965
+ "additionalProperties": false
4966
+ },
4967
+ "description": "Per-model node channels and their signal calibration."
4968
+ }
4969
+ },
4970
+ "required": [
4971
+ "bindings"
4972
+ ],
4973
+ "additionalProperties": false
4713
4974
  }
4714
4975
  },
4715
4976
  "required": [
@@ -4911,26 +5172,56 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
4911
5172
  },
4912
5173
  "yaw": {
4913
5174
  "type": "number",
4914
- "description": "Heading in radians, zero +Z."
5175
+ "description": "Heading in radians, zero +Z. Airplanes report it from transform.rot, which is authoritative."
4915
5176
  },
4916
5177
  "pitch": {
4917
5178
  "type": "number",
4918
- "description": "Nose-up angle in radians."
5179
+ "description": "Nose-up angle in radians (±π/2 at the vertical)."
4919
5180
  },
4920
5181
  "roll": {
4921
5182
  "type": "number",
4922
- "description": "Right bank angle in radians."
5183
+ "description": "Right bank angle in radians; ±π inverted."
4923
5184
  },
4924
5185
  "pitchRate": {
4925
5186
  "type": "number",
4926
- "description": "Pitch angular speed in radians per second."
5187
+ "description": "Body pitch rate, nose up, in radians per second."
4927
5188
  },
4928
5189
  "rollRate": {
4929
5190
  "type": "number",
4930
- "description": "Roll angular speed in radians per second."
5191
+ "description": "Body roll rate, right wing down, in radians per second."
5192
+ },
5193
+ "yawRate": {
5194
+ "description": "Airplane body yaw rate about local +Y (nose left), in rad/s.",
5195
+ "type": "number"
5196
+ },
5197
+ "elevator": {
5198
+ "description": "Airplane elevator position after its travel limit, -1..1.",
5199
+ "type": "number",
5200
+ "minimum": -1,
5201
+ "maximum": 1
5202
+ },
5203
+ "gearPosition": {
5204
+ "description": "Airplane landing gear: 0 up and locked, 1 down and locked, between them in transit. Starts at the commanded position.",
5205
+ "type": "number",
5206
+ "minimum": 0,
5207
+ "maximum": 1
5208
+ },
5209
+ "flapPosition": {
5210
+ "description": "Airplane flaps as a fraction of full travel, 0..1. Starts at the commanded position.",
5211
+ "type": "number",
5212
+ "minimum": 0,
5213
+ "maximum": 1
5214
+ },
5215
+ "pitchTrim": {
5216
+ "description": "Airplane trimmed angle of attack in radians, flown with the stick centered.",
5217
+ "type": "number"
4931
5218
  },
4932
- "thrustYawRate": {
4933
- "description": "Additional thrust-induced yaw angular speed about local +Y, in rad/s.",
5219
+ "sideslip": {
5220
+ "description": "Airplane sideslip in radians, positive with the relative wind from the left.",
5221
+ "type": "number"
5222
+ },
5223
+ "loadFactor": {
5224
+ "description": "Airplane aerodynamic and thrust load along its up axis, in g.",
4934
5225
  "type": "number"
4935
5226
  },
4936
5227
  "engines": {
@@ -5039,21 +5330,42 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
5039
5330
 
5040
5331
  </details>
5041
5332
 
5042
- ## Owner: kernel/character
5333
+ ## Owner: kernel/boats
5043
5334
 
5044
- ### `character`
5335
+ ### `boat`
5045
5336
 
5046
- Kinematic character controller state (speed/jump/gravity + kernel-owned vy/grounded).
5337
+ Waterline-aligned powered hull with data-driven handling and shared seats.
5047
5338
 
5048
- Required: `speed`, `jumpSpeed`, `gravity`, `vy`, `grounded`
5339
+ Required: `kind`, `spec`, `visual`
5049
5340
 
5050
5341
  ```json
5051
5342
  {
5052
- "speed": 6,
5053
- "jumpSpeed": 8,
5054
- "gravity": 20,
5055
- "vy": 0,
5056
- "grounded": true
5343
+ "kind": "demo.boat",
5344
+ "spec": {
5345
+ "label": "Launch",
5346
+ "length": 6,
5347
+ "width": 2.4,
5348
+ "height": 2,
5349
+ "draft": 0.5,
5350
+ "mass": 1200,
5351
+ "thrust": 3600,
5352
+ "maxSpeed": 14,
5353
+ "reverseSpeed": 3,
5354
+ "turnRate": 0.5,
5355
+ "turnResponse": 1,
5356
+ "lateralDrag": 2,
5357
+ "buoyancyFrequency": 1,
5358
+ "driverEye": [
5359
+ 0.5,
5360
+ 1.2,
5361
+ 0
5362
+ ]
5363
+ },
5364
+ "visual": {
5365
+ "wheelNodes": [],
5366
+ "frontWheelNodes": [],
5367
+ "paintMaterial": "hull"
5368
+ }
5057
5369
  }
5058
5370
  ```
5059
5371
 
@@ -5065,17 +5377,740 @@ Required: `speed`, `jumpSpeed`, `gravity`, `vy`, `grounded`
5065
5377
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5066
5378
  "type": "object",
5067
5379
  "properties": {
5068
- "speed": {
5069
- "type": "number",
5070
- "description": "Planar move speed in meters per second."
5071
- },
5072
- "jumpSpeed": {
5073
- "type": "number",
5074
- "description": "Initial upward velocity in meters per second applied when jumping from the ground."
5380
+ "kind": {
5381
+ "type": "string",
5382
+ "minLength": 1,
5383
+ "description": "Stable external vessel entity/type id."
5075
5384
  },
5076
- "gravity": {
5077
- "type": "number",
5078
- "description": "Downward acceleration in meters per second squared applied to vy each tick."
5385
+ "spec": {
5386
+ "type": "object",
5387
+ "properties": {
5388
+ "label": {
5389
+ "type": "string",
5390
+ "minLength": 1,
5391
+ "description": "Human-readable vessel name."
5392
+ },
5393
+ "length": {
5394
+ "type": "number",
5395
+ "exclusiveMinimum": 0,
5396
+ "description": "Hull length along Z in meters."
5397
+ },
5398
+ "width": {
5399
+ "type": "number",
5400
+ "exclusiveMinimum": 0,
5401
+ "description": "Hull width along X in meters."
5402
+ },
5403
+ "height": {
5404
+ "type": "number",
5405
+ "exclusiveMinimum": 0,
5406
+ "description": "Vessel height in meters."
5407
+ },
5408
+ "draft": {
5409
+ "type": "number",
5410
+ "exclusiveMinimum": 0,
5411
+ "description": "Minimum water depth in meters."
5412
+ },
5413
+ "mass": {
5414
+ "type": "number",
5415
+ "exclusiveMinimum": 0,
5416
+ "description": "Mass in kg."
5417
+ },
5418
+ "thrust": {
5419
+ "type": "number",
5420
+ "exclusiveMinimum": 0,
5421
+ "description": "Forward propeller thrust in newtons."
5422
+ },
5423
+ "maxSpeed": {
5424
+ "type": "number",
5425
+ "exclusiveMinimum": 0,
5426
+ "description": "Maximum forward speed through water in m/s."
5427
+ },
5428
+ "reverseSpeed": {
5429
+ "type": "number",
5430
+ "exclusiveMinimum": 0,
5431
+ "description": "Maximum reverse speed through water in m/s."
5432
+ },
5433
+ "turnRate": {
5434
+ "type": "number",
5435
+ "exclusiveMinimum": 0,
5436
+ "description": "Maximum cruise yaw rate in radians per second."
5437
+ },
5438
+ "turnResponse": {
5439
+ "type": "number",
5440
+ "exclusiveMinimum": 0,
5441
+ "description": "Time to build or lose yaw rate in seconds."
5442
+ },
5443
+ "lateralDrag": {
5444
+ "type": "number",
5445
+ "exclusiveMinimum": 0,
5446
+ "description": "Lateral water resistance per second."
5447
+ },
5448
+ "buoyancyFrequency": {
5449
+ "type": "number",
5450
+ "exclusiveMinimum": 0,
5451
+ "maximum": 4,
5452
+ "description": "Buoyancy spring frequency in hertz."
5453
+ },
5454
+ "driverEye": {
5455
+ "type": "array",
5456
+ "prefixItems": [
5457
+ {
5458
+ "type": "number"
5459
+ },
5460
+ {
5461
+ "type": "number"
5462
+ },
5463
+ {
5464
+ "type": "number"
5465
+ }
5466
+ ],
5467
+ "items": false,
5468
+ "minItems": 3,
5469
+ "maxItems": 3,
5470
+ "description": "Helm eye position in local meters."
5471
+ }
5472
+ },
5473
+ "required": [
5474
+ "label",
5475
+ "length",
5476
+ "width",
5477
+ "height",
5478
+ "draft",
5479
+ "mass",
5480
+ "thrust",
5481
+ "maxSpeed",
5482
+ "reverseSpeed",
5483
+ "turnRate",
5484
+ "turnResponse",
5485
+ "lateralDrag",
5486
+ "buoyancyFrequency",
5487
+ "driverEye"
5488
+ ],
5489
+ "additionalProperties": false,
5490
+ "description": "Complete hull dimensions and handling configuration."
5491
+ },
5492
+ "visual": {
5493
+ "type": "object",
5494
+ "properties": {
5495
+ "wheelNodes": {
5496
+ "type": "array",
5497
+ "items": {
5498
+ "type": "string",
5499
+ "minLength": 1
5500
+ },
5501
+ "description": "Wheel nodes; empty for ordinary hulls."
5502
+ },
5503
+ "frontWheelNodes": {
5504
+ "type": "array",
5505
+ "items": {
5506
+ "type": "string",
5507
+ "minLength": 1
5508
+ },
5509
+ "description": "Steering wheel nodes; usually empty."
5510
+ },
5511
+ "steeringWheelNode": {
5512
+ "description": "External steeringWheelNode setting.",
5513
+ "type": "string",
5514
+ "minLength": 1
5515
+ },
5516
+ "paintMaterial": {
5517
+ "type": "string",
5518
+ "minLength": 1,
5519
+ "description": "External paintMaterial setting."
5520
+ },
5521
+ "interior": {
5522
+ "description": "External interior setting.",
5523
+ "type": "object",
5524
+ "properties": {
5525
+ "nodes": {
5526
+ "minItems": 1,
5527
+ "type": "array",
5528
+ "items": {
5529
+ "type": "string",
5530
+ "minLength": 1
5531
+ },
5532
+ "description": "Cabin nodes in the same exterior/interior GLB."
5533
+ },
5534
+ "sources": {
5535
+ "description": "Optional component fields overriding or extending host telemetry.",
5536
+ "type": "object",
5537
+ "propertyNames": {
5538
+ "type": "string",
5539
+ "minLength": 1
5540
+ },
5541
+ "additionalProperties": {
5542
+ "type": "object",
5543
+ "properties": {
5544
+ "component": {
5545
+ "type": "string",
5546
+ "minLength": 1,
5547
+ "description": "Component on this same entity."
5548
+ },
5549
+ "path": {
5550
+ "minItems": 1,
5551
+ "type": "array",
5552
+ "items": {
5553
+ "anyOf": [
5554
+ {
5555
+ "type": "string",
5556
+ "minLength": 1
5557
+ },
5558
+ {
5559
+ "type": "integer",
5560
+ "minimum": 0,
5561
+ "maximum": 9007199254740991
5562
+ }
5563
+ ]
5564
+ },
5565
+ "description": "Explicit property names or array indices leading to a number or boolean."
5566
+ }
5567
+ },
5568
+ "required": [
5569
+ "component",
5570
+ "path"
5571
+ ],
5572
+ "additionalProperties": false
5573
+ }
5574
+ },
5575
+ "bindings": {
5576
+ "type": "array",
5577
+ "items": {
5578
+ "type": "object",
5579
+ "properties": {
5580
+ "node": {
5581
+ "type": "string",
5582
+ "minLength": 1,
5583
+ "description": "Exact loaded GLB node name."
5584
+ },
5585
+ "source": {
5586
+ "type": "string",
5587
+ "minLength": 1,
5588
+ "description": "Named simulation signal."
5589
+ },
5590
+ "property": {
5591
+ "type": "string",
5592
+ "enum": [
5593
+ "rotation",
5594
+ "position"
5595
+ ],
5596
+ "description": "Local transform channel."
5597
+ },
5598
+ "axis": {
5599
+ "type": "string",
5600
+ "enum": [
5601
+ "x",
5602
+ "y",
5603
+ "z"
5604
+ ],
5605
+ "description": "Local transform axis."
5606
+ },
5607
+ "scale": {
5608
+ "description": "Multiply the signal by this value. Supply this or keys.",
5609
+ "type": "number"
5610
+ },
5611
+ "offset": {
5612
+ "description": "Offset after scaling; default zero.",
5613
+ "type": "number"
5614
+ },
5615
+ "keys": {
5616
+ "description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
5617
+ "minItems": 2,
5618
+ "type": "array",
5619
+ "items": {
5620
+ "type": "array",
5621
+ "prefixItems": [
5622
+ {
5623
+ "type": "number"
5624
+ },
5625
+ {
5626
+ "type": "number"
5627
+ }
5628
+ ],
5629
+ "items": false,
5630
+ "minItems": 2,
5631
+ "maxItems": 2
5632
+ }
5633
+ },
5634
+ "ease": {
5635
+ "description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
5636
+ "type": "string",
5637
+ "enum": [
5638
+ "linear",
5639
+ "smooth"
5640
+ ]
5641
+ },
5642
+ "min": {
5643
+ "description": "Minimum displacement from authored pose.",
5644
+ "type": "number"
5645
+ },
5646
+ "max": {
5647
+ "description": "Maximum displacement from authored pose.",
5648
+ "type": "number"
5649
+ }
5650
+ },
5651
+ "required": [
5652
+ "node",
5653
+ "source",
5654
+ "property",
5655
+ "axis"
5656
+ ],
5657
+ "additionalProperties": false
5658
+ },
5659
+ "description": "Per-model node channels and their signal calibration."
5660
+ }
5661
+ },
5662
+ "required": [
5663
+ "nodes",
5664
+ "bindings"
5665
+ ],
5666
+ "additionalProperties": false
5667
+ },
5668
+ "animation": {
5669
+ "description": "External animation setting.",
5670
+ "type": "object",
5671
+ "properties": {
5672
+ "sources": {
5673
+ "description": "Optional component fields overriding or extending host telemetry.",
5674
+ "type": "object",
5675
+ "propertyNames": {
5676
+ "type": "string",
5677
+ "minLength": 1
5678
+ },
5679
+ "additionalProperties": {
5680
+ "type": "object",
5681
+ "properties": {
5682
+ "component": {
5683
+ "type": "string",
5684
+ "minLength": 1,
5685
+ "description": "Component on this same entity."
5686
+ },
5687
+ "path": {
5688
+ "minItems": 1,
5689
+ "type": "array",
5690
+ "items": {
5691
+ "anyOf": [
5692
+ {
5693
+ "type": "string",
5694
+ "minLength": 1
5695
+ },
5696
+ {
5697
+ "type": "integer",
5698
+ "minimum": 0,
5699
+ "maximum": 9007199254740991
5700
+ }
5701
+ ]
5702
+ },
5703
+ "description": "Explicit property names or array indices leading to a number or boolean."
5704
+ }
5705
+ },
5706
+ "required": [
5707
+ "component",
5708
+ "path"
5709
+ ],
5710
+ "additionalProperties": false
5711
+ }
5712
+ },
5713
+ "bindings": {
5714
+ "type": "array",
5715
+ "items": {
5716
+ "type": "object",
5717
+ "properties": {
5718
+ "node": {
5719
+ "type": "string",
5720
+ "minLength": 1,
5721
+ "description": "Exact loaded GLB node name."
5722
+ },
5723
+ "source": {
5724
+ "type": "string",
5725
+ "minLength": 1,
5726
+ "description": "Named simulation signal."
5727
+ },
5728
+ "property": {
5729
+ "type": "string",
5730
+ "enum": [
5731
+ "rotation",
5732
+ "position"
5733
+ ],
5734
+ "description": "Local transform channel."
5735
+ },
5736
+ "axis": {
5737
+ "type": "string",
5738
+ "enum": [
5739
+ "x",
5740
+ "y",
5741
+ "z"
5742
+ ],
5743
+ "description": "Local transform axis."
5744
+ },
5745
+ "scale": {
5746
+ "description": "Multiply the signal by this value. Supply this or keys.",
5747
+ "type": "number"
5748
+ },
5749
+ "offset": {
5750
+ "description": "Offset after scaling; default zero.",
5751
+ "type": "number"
5752
+ },
5753
+ "keys": {
5754
+ "description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
5755
+ "minItems": 2,
5756
+ "type": "array",
5757
+ "items": {
5758
+ "type": "array",
5759
+ "prefixItems": [
5760
+ {
5761
+ "type": "number"
5762
+ },
5763
+ {
5764
+ "type": "number"
5765
+ }
5766
+ ],
5767
+ "items": false,
5768
+ "minItems": 2,
5769
+ "maxItems": 2
5770
+ }
5771
+ },
5772
+ "ease": {
5773
+ "description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
5774
+ "type": "string",
5775
+ "enum": [
5776
+ "linear",
5777
+ "smooth"
5778
+ ]
5779
+ },
5780
+ "min": {
5781
+ "description": "Minimum displacement from authored pose.",
5782
+ "type": "number"
5783
+ },
5784
+ "max": {
5785
+ "description": "Maximum displacement from authored pose.",
5786
+ "type": "number"
5787
+ }
5788
+ },
5789
+ "required": [
5790
+ "node",
5791
+ "source",
5792
+ "property",
5793
+ "axis"
5794
+ ],
5795
+ "additionalProperties": false
5796
+ },
5797
+ "description": "Per-model node channels and their signal calibration."
5798
+ }
5799
+ },
5800
+ "required": [
5801
+ "bindings"
5802
+ ],
5803
+ "additionalProperties": false
5804
+ }
5805
+ },
5806
+ "required": [
5807
+ "wheelNodes",
5808
+ "frontWheelNodes",
5809
+ "paintMaterial"
5810
+ ],
5811
+ "additionalProperties": false,
5812
+ "description": "Named GLB nodes, material and animation bindings."
5813
+ },
5814
+ "color": {
5815
+ "description": "Optional hull paint override.",
5816
+ "type": "string"
5817
+ }
5818
+ },
5819
+ "required": [
5820
+ "kind",
5821
+ "spec",
5822
+ "visual"
5823
+ ],
5824
+ "additionalProperties": false
5825
+ }
5826
+ ```
5827
+
5828
+ </details>
5829
+
5830
+ ### `boatInput`
5831
+
5832
+ Helm intent: signed thrust, steering and low-speed anchor. Only the driver controls it.
5833
+
5834
+ Required: `throttle`, `steering`, `anchor`
5835
+
5836
+ ```json
5837
+ {
5838
+ "throttle": 0,
5839
+ "steering": 0,
5840
+ "anchor": true
5841
+ }
5842
+ ```
5843
+
5844
+ <details>
5845
+ <summary>JSON Schema</summary>
5846
+
5847
+ ```json
5848
+ {
5849
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
5850
+ "type": "object",
5851
+ "properties": {
5852
+ "throttle": {
5853
+ "type": "number",
5854
+ "minimum": -1,
5855
+ "maximum": 1,
5856
+ "description": "Signed propeller power; negative reverses thrust."
5857
+ },
5858
+ "steering": {
5859
+ "type": "number",
5860
+ "minimum": -1,
5861
+ "maximum": 1,
5862
+ "description": "Signed helm input; positive turns right."
5863
+ },
5864
+ "anchor": {
5865
+ "type": "boolean",
5866
+ "description": "Request the low-speed anchor; release to apply thrust."
5867
+ }
5868
+ },
5869
+ "required": [
5870
+ "throttle",
5871
+ "steering",
5872
+ "anchor"
5873
+ ],
5874
+ "additionalProperties": false
5875
+ }
5876
+ ```
5877
+
5878
+ </details>
5879
+
5880
+ ### `boatState`
5881
+
5882
+ Snapshot-safe hull motion, buoyancy and anchoring; owned by installBoats.
5883
+
5884
+ Required: `speed`, `lateralSpeed`, `velocity`, `yaw`, `yawRate`, `steer`, `pitch`, `roll`, `vy`, `anchored`, `grounded`, `waitingForWater`
5885
+
5886
+ ```json
5887
+ {
5888
+ "speed": 0,
5889
+ "lateralSpeed": 0,
5890
+ "velocity": [
5891
+ 0,
5892
+ 0
5893
+ ],
5894
+ "yaw": 0,
5895
+ "yawRate": 0,
5896
+ "steer": 0,
5897
+ "pitch": 0,
5898
+ "roll": 0,
5899
+ "vy": 0,
5900
+ "anchored": true,
5901
+ "grounded": false,
5902
+ "waitingForWater": false
5903
+ }
5904
+ ```
5905
+
5906
+ <details>
5907
+ <summary>JSON Schema</summary>
5908
+
5909
+ ```json
5910
+ {
5911
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
5912
+ "type": "object",
5913
+ "properties": {
5914
+ "speed": {
5915
+ "type": "number",
5916
+ "description": "Forward speed through water in m/s."
5917
+ },
5918
+ "lateralSpeed": {
5919
+ "type": "number",
5920
+ "description": "Lateral speed through water in m/s."
5921
+ },
5922
+ "velocity": {
5923
+ "type": "array",
5924
+ "prefixItems": [
5925
+ {
5926
+ "type": "number"
5927
+ },
5928
+ {
5929
+ "type": "number"
5930
+ }
5931
+ ],
5932
+ "items": false,
5933
+ "minItems": 2,
5934
+ "maxItems": 2,
5935
+ "description": "World velocity [east, south] including current in m/s."
5936
+ },
5937
+ "yaw": {
5938
+ "type": "number",
5939
+ "description": "Heading about +Y in radians."
5940
+ },
5941
+ "yawRate": {
5942
+ "type": "number",
5943
+ "description": "Yaw rate in radians per second."
5944
+ },
5945
+ "steer": {
5946
+ "type": "number",
5947
+ "description": "Smoothed helm input in [-1, 1]."
5948
+ },
5949
+ "pitch": {
5950
+ "type": "number",
5951
+ "description": "Hull pitch in radians."
5952
+ },
5953
+ "roll": {
5954
+ "type": "number",
5955
+ "description": "Hull roll in radians."
5956
+ },
5957
+ "vy": {
5958
+ "type": "number",
5959
+ "description": "Vertical buoyancy velocity in m/s."
5960
+ },
5961
+ "anchored": {
5962
+ "type": "boolean",
5963
+ "description": "Whether the low-speed anchor is engaged."
5964
+ },
5965
+ "grounded": {
5966
+ "type": "boolean",
5967
+ "description": "Whether the hull is stopped by insufficient depth."
5968
+ },
5969
+ "waitingForWater": {
5970
+ "type": "boolean",
5971
+ "description": "Whether motion is paused for unavailable water data."
5972
+ }
5973
+ },
5974
+ "required": [
5975
+ "speed",
5976
+ "lateralSpeed",
5977
+ "velocity",
5978
+ "yaw",
5979
+ "yawRate",
5980
+ "steer",
5981
+ "pitch",
5982
+ "roll",
5983
+ "vy",
5984
+ "anchored",
5985
+ "grounded",
5986
+ "waitingForWater"
5987
+ ],
5988
+ "additionalProperties": false
5989
+ }
5990
+ ```
5991
+
5992
+ </details>
5993
+
5994
+ ### `water`
5995
+
5996
+ Deterministic swells and current for boats; heights and coverage come from the host water field.
5997
+
5998
+ Required: none
5999
+
6000
+ ```json
6001
+ {
6002
+ "waves": [],
6003
+ "current": [
6004
+ 0,
6005
+ 0
6006
+ ]
6007
+ }
6008
+ ```
6009
+
6010
+ <details>
6011
+ <summary>JSON Schema</summary>
6012
+
6013
+ ```json
6014
+ {
6015
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6016
+ "type": "object",
6017
+ "properties": {
6018
+ "waves": {
6019
+ "description": "Up to eight travelling swells added to the water surface.",
6020
+ "maxItems": 8,
6021
+ "type": "array",
6022
+ "items": {
6023
+ "type": "object",
6024
+ "properties": {
6025
+ "amplitude": {
6026
+ "type": "number",
6027
+ "minimum": 0,
6028
+ "maximum": 10,
6029
+ "description": "Swell amplitude in meters."
6030
+ },
6031
+ "wavelength": {
6032
+ "type": "number",
6033
+ "minimum": 1,
6034
+ "description": "Wavelength in meters."
6035
+ },
6036
+ "direction": {
6037
+ "type": "number",
6038
+ "description": "Travel direction in radians; zero is +Z."
6039
+ },
6040
+ "speed": {
6041
+ "type": "number",
6042
+ "minimum": 0,
6043
+ "description": "Wave propagation speed in m/s."
6044
+ }
6045
+ },
6046
+ "required": [
6047
+ "amplitude",
6048
+ "wavelength",
6049
+ "direction",
6050
+ "speed"
6051
+ ],
6052
+ "additionalProperties": false
6053
+ }
6054
+ },
6055
+ "current": {
6056
+ "description": "Current [east, south] in m/s.",
6057
+ "type": "array",
6058
+ "prefixItems": [
6059
+ {
6060
+ "type": "number"
6061
+ },
6062
+ {
6063
+ "type": "number"
6064
+ }
6065
+ ],
6066
+ "items": false,
6067
+ "minItems": 2,
6068
+ "maxItems": 2
6069
+ }
6070
+ },
6071
+ "additionalProperties": false
6072
+ }
6073
+ ```
6074
+
6075
+ </details>
6076
+
6077
+ ## Owner: kernel/character
6078
+
6079
+ ### `character`
6080
+
6081
+ Kinematic character controller state (speed/jump/gravity + kernel-owned vy/grounded).
6082
+
6083
+ Required: `speed`, `jumpSpeed`, `gravity`, `vy`, `grounded`
6084
+
6085
+ ```json
6086
+ {
6087
+ "speed": 6,
6088
+ "jumpSpeed": 8,
6089
+ "gravity": 20,
6090
+ "vy": 0,
6091
+ "grounded": true
6092
+ }
6093
+ ```
6094
+
6095
+ <details>
6096
+ <summary>JSON Schema</summary>
6097
+
6098
+ ```json
6099
+ {
6100
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6101
+ "type": "object",
6102
+ "properties": {
6103
+ "speed": {
6104
+ "type": "number",
6105
+ "description": "Planar move speed in meters per second."
6106
+ },
6107
+ "jumpSpeed": {
6108
+ "type": "number",
6109
+ "description": "Initial upward velocity in meters per second applied when jumping from the ground."
6110
+ },
6111
+ "gravity": {
6112
+ "type": "number",
6113
+ "description": "Downward acceleration in meters per second squared applied to vy each tick."
5079
6114
  },
5080
6115
  "vy": {
5081
6116
  "type": "number",
@@ -5822,6 +6857,19 @@ Required: `seats`, `exits`, `reach`
5822
6857
  },
5823
6858
  "description": "Available seat definitions. Each seat can hold one actor."
5824
6859
  },
6860
+ "entries": {
6861
+ "description": "Optional boarding points in local meters, e.g. a boat gangway; seat anchors remain valid entry points.",
6862
+ "minItems": 1,
6863
+ "type": "array",
6864
+ "items": {
6865
+ "minItems": 3,
6866
+ "maxItems": 3,
6867
+ "type": "array",
6868
+ "items": {
6869
+ "type": "number"
6870
+ }
6871
+ }
6872
+ },
5825
6873
  "exits": {
5826
6874
  "minItems": 1,
5827
6875
  "type": "array",
@@ -6008,8 +7056,8 @@ Required: `kind`, `color`, `spec`, `visual`
6008
7056
  },
6009
7057
  "wheelTrack": {
6010
7058
  "type": "number",
6011
- "exclusiveMinimum": 0,
6012
- "description": "External wheelTrack setting."
7059
+ "minimum": 0,
7060
+ "description": "Lateral wheel spacing in meters; zero for cycles."
6013
7061
  },
6014
7062
  "wheelRadius": {
6015
7063
  "type": "number",
@@ -6033,8 +7081,8 @@ Required: `kind`, `color`, `spec`, `visual`
6033
7081
  },
6034
7082
  "reverseSpeed": {
6035
7083
  "type": "number",
6036
- "exclusiveMinimum": 0,
6037
- "description": "External reverseSpeed setting."
7084
+ "minimum": 0,
7085
+ "description": "Maximum reverse speed; zero disables powered reverse."
6038
7086
  },
6039
7087
  "brakeDeceleration": {
6040
7088
  "type": "number",
@@ -6049,7 +7097,7 @@ Required: `kind`, `color`, `spec`, `visual`
6049
7097
  "grip": {
6050
7098
  "type": "number",
6051
7099
  "exclusiveMinimum": 0,
6052
- "description": "External grip setting."
7100
+ "description": "Peak tire friction on dry pavement as an acceleration in m/s²; grip / 9.81 is the friction coefficient. Rain and snow lower it."
6053
7101
  },
6054
7102
  "driverEye": {
6055
7103
  "minItems": 3,
@@ -6058,47 +7106,214 @@ Required: `kind`, `color`, `spec`, `visual`
6058
7106
  "items": {
6059
7107
  "type": "number"
6060
7108
  },
6061
- "description": "External driverEye setting."
6062
- },
6063
- "steeringRate": {
6064
- "type": "number",
6065
- "exclusiveMinimum": 0,
6066
- "description": "External steeringRate setting."
6067
- },
6068
- "steeringFadeSpeed": {
6069
- "type": "number",
6070
- "exclusiveMinimum": 0,
6071
- "description": "External steeringFadeSpeed setting."
6072
- },
6073
- "rollingResistance": {
6074
- "type": "number",
6075
- "minimum": 0,
6076
- "description": "External rollingResistance setting."
6077
- },
6078
- "aerodynamicResistance": {
6079
- "type": "number",
6080
- "minimum": 0,
6081
- "description": "External aerodynamicResistance setting."
6082
- },
6083
- "terrainAlignRate": {
6084
- "type": "number",
6085
- "exclusiveMinimum": 0,
6086
- "description": "External terrainAlignRate setting."
6087
- },
6088
- "supportTolerance": {
6089
- "type": "number",
6090
- "minimum": 0,
6091
- "description": "External supportTolerance setting."
6092
- },
6093
- "maxStepHeight": {
6094
- "type": "number",
6095
- "minimum": 0,
6096
- "description": "External maxStepHeight setting."
6097
- },
6098
- "maxSlope": {
6099
- "type": "number",
6100
- "exclusiveMinimum": 0,
6101
- "description": "External maxSlope setting."
7109
+ "description": "External driverEye setting."
7110
+ },
7111
+ "steeringRate": {
7112
+ "type": "number",
7113
+ "exclusiveMinimum": 0,
7114
+ "description": "External steeringRate setting."
7115
+ },
7116
+ "steeringFadeSpeed": {
7117
+ "type": "number",
7118
+ "exclusiveMinimum": 0,
7119
+ "description": "External steeringFadeSpeed setting."
7120
+ },
7121
+ "rollingResistance": {
7122
+ "type": "number",
7123
+ "minimum": 0,
7124
+ "description": "External rollingResistance setting."
7125
+ },
7126
+ "aerodynamicResistance": {
7127
+ "type": "number",
7128
+ "minimum": 0,
7129
+ "description": "External aerodynamicResistance setting."
7130
+ },
7131
+ "terrainAlignRate": {
7132
+ "type": "number",
7133
+ "exclusiveMinimum": 0,
7134
+ "description": "External terrainAlignRate setting."
7135
+ },
7136
+ "supportTolerance": {
7137
+ "type": "number",
7138
+ "minimum": 0,
7139
+ "description": "External supportTolerance setting."
7140
+ },
7141
+ "maxStepHeight": {
7142
+ "type": "number",
7143
+ "minimum": 0,
7144
+ "description": "External maxStepHeight setting."
7145
+ },
7146
+ "maxSlope": {
7147
+ "type": "number",
7148
+ "exclusiveMinimum": 0,
7149
+ "description": "External maxSlope setting."
7150
+ },
7151
+ "drive": {
7152
+ "description": "Driven wheels. Default front.",
7153
+ "type": "string",
7154
+ "enum": [
7155
+ "front",
7156
+ "rear",
7157
+ "all"
7158
+ ]
7159
+ },
7160
+ "corneringStiffness": {
7161
+ "description": "Tire side force per unit load per radian of slip angle before it saturates at the grip limit. Default 18.",
7162
+ "type": "number",
7163
+ "exclusiveMinimum": 0
7164
+ },
7165
+ "brakeBias": {
7166
+ "description": "Share of braking force on the front wheels. Default 0.65.",
7167
+ "type": "number",
7168
+ "minimum": 0,
7169
+ "maximum": 1
7170
+ },
7171
+ "yawInertia": {
7172
+ "description": "Yaw moment of inertia in kg m². Default mass * (length² + width²) / 12.",
7173
+ "type": "number",
7174
+ "exclusiveMinimum": 0
7175
+ },
7176
+ "rollStiffness": {
7177
+ "description": "Body roll in radians per g of cornering. Default 0.05.",
7178
+ "type": "number",
7179
+ "minimum": 0
7180
+ },
7181
+ "pitchStiffness": {
7182
+ "description": "Body pitch in radians per g of braking or acceleration. Default 0.03. Weight shifts between the axles through this pitch; 0 keeps the axle loads fixed.",
7183
+ "type": "number",
7184
+ "minimum": 0
7185
+ },
7186
+ "suspensionFrequency": {
7187
+ "description": "Suspension natural frequency in Hz for body roll and pitch. Default 1.5.",
7188
+ "type": "number",
7189
+ "exclusiveMinimum": 0
7190
+ },
7191
+ "suspensionDamping": {
7192
+ "description": "Suspension damping ratio. Default 0.5.",
7193
+ "type": "number",
7194
+ "exclusiveMinimum": 0
7195
+ },
7196
+ "cycle": {
7197
+ "description": "Self-balancing cycle handling and rider contact points. Driver seat anchors the pelvis.",
7198
+ "type": "object",
7199
+ "properties": {
7200
+ "maxLean": {
7201
+ "type": "number",
7202
+ "exclusiveMinimum": 0,
7203
+ "maximum": 1.2,
7204
+ "description": "Maximum balanced inward lean in radians."
7205
+ },
7206
+ "riderLean": {
7207
+ "type": "number",
7208
+ "minimum": 0,
7209
+ "maximum": 1,
7210
+ "description": "Forward torso lean in radians."
7211
+ },
7212
+ "handlebarPivot": {
7213
+ "minItems": 3,
7214
+ "maxItems": 3,
7215
+ "type": "array",
7216
+ "items": {
7217
+ "type": "number"
7218
+ },
7219
+ "description": "Steering pivot in model-local meters."
7220
+ },
7221
+ "grips": {
7222
+ "type": "array",
7223
+ "prefixItems": [
7224
+ {
7225
+ "minItems": 3,
7226
+ "maxItems": 3,
7227
+ "type": "array",
7228
+ "items": {
7229
+ "type": "number"
7230
+ }
7231
+ },
7232
+ {
7233
+ "minItems": 3,
7234
+ "maxItems": 3,
7235
+ "type": "array",
7236
+ "items": {
7237
+ "type": "number"
7238
+ }
7239
+ }
7240
+ ],
7241
+ "items": false,
7242
+ "minItems": 2,
7243
+ "maxItems": 2,
7244
+ "description": "Left and right hand targets in model-local meters."
7245
+ },
7246
+ "footrests": {
7247
+ "type": "array",
7248
+ "prefixItems": [
7249
+ {
7250
+ "minItems": 3,
7251
+ "maxItems": 3,
7252
+ "type": "array",
7253
+ "items": {
7254
+ "type": "number"
7255
+ }
7256
+ },
7257
+ {
7258
+ "minItems": 3,
7259
+ "maxItems": 3,
7260
+ "type": "array",
7261
+ "items": {
7262
+ "type": "number"
7263
+ }
7264
+ }
7265
+ ],
7266
+ "items": false,
7267
+ "minItems": 2,
7268
+ "maxItems": 2,
7269
+ "description": "Left and right ankle targets in model-local meters."
7270
+ },
7271
+ "pedals": {
7272
+ "description": "Bicycle crank geometry and gearing; omitted on motor vehicles.",
7273
+ "type": "object",
7274
+ "properties": {
7275
+ "center": {
7276
+ "minItems": 3,
7277
+ "maxItems": 3,
7278
+ "type": "array",
7279
+ "items": {
7280
+ "type": "number"
7281
+ },
7282
+ "description": "Crank centre in model-local meters."
7283
+ },
7284
+ "radius": {
7285
+ "type": "number",
7286
+ "exclusiveMinimum": 0,
7287
+ "description": "Crank arm length in meters."
7288
+ },
7289
+ "halfWidth": {
7290
+ "type": "number",
7291
+ "exclusiveMinimum": 0,
7292
+ "description": "Distance from centreline to each pedal in meters."
7293
+ },
7294
+ "ratio": {
7295
+ "type": "number",
7296
+ "exclusiveMinimum": 0,
7297
+ "description": "Wheel revolutions per crank revolution."
7298
+ }
7299
+ },
7300
+ "required": [
7301
+ "center",
7302
+ "radius",
7303
+ "halfWidth",
7304
+ "ratio"
7305
+ ],
7306
+ "additionalProperties": false
7307
+ }
7308
+ },
7309
+ "required": [
7310
+ "maxLean",
7311
+ "riderLean",
7312
+ "handlebarPivot",
7313
+ "grips",
7314
+ "footrests"
7315
+ ],
7316
+ "additionalProperties": false
6102
7317
  }
6103
7318
  },
6104
7319
  "required": [
@@ -6248,13 +7463,40 @@ Required: `kind`, `color`, `spec`, `visual`
6248
7463
  "description": "Local transform axis."
6249
7464
  },
6250
7465
  "scale": {
6251
- "type": "number",
6252
- "description": "Multiply the signal by this value."
7466
+ "description": "Multiply the signal by this value. Supply this or keys.",
7467
+ "type": "number"
6253
7468
  },
6254
7469
  "offset": {
6255
7470
  "description": "Offset after scaling; default zero.",
6256
7471
  "type": "number"
6257
7472
  },
7473
+ "keys": {
7474
+ "description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
7475
+ "minItems": 2,
7476
+ "type": "array",
7477
+ "items": {
7478
+ "type": "array",
7479
+ "prefixItems": [
7480
+ {
7481
+ "type": "number"
7482
+ },
7483
+ {
7484
+ "type": "number"
7485
+ }
7486
+ ],
7487
+ "items": false,
7488
+ "minItems": 2,
7489
+ "maxItems": 2
7490
+ }
7491
+ },
7492
+ "ease": {
7493
+ "description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
7494
+ "type": "string",
7495
+ "enum": [
7496
+ "linear",
7497
+ "smooth"
7498
+ ]
7499
+ },
6258
7500
  "min": {
6259
7501
  "description": "Minimum displacement from authored pose.",
6260
7502
  "type": "number"
@@ -6268,8 +7510,7 @@ Required: `kind`, `color`, `spec`, `visual`
6268
7510
  "node",
6269
7511
  "source",
6270
7512
  "property",
6271
- "axis",
6272
- "scale"
7513
+ "axis"
6273
7514
  ],
6274
7515
  "additionalProperties": false
6275
7516
  },
@@ -6281,6 +7522,143 @@ Required: `kind`, `color`, `spec`, `visual`
6281
7522
  "bindings"
6282
7523
  ],
6283
7524
  "additionalProperties": false
7525
+ },
7526
+ "animation": {
7527
+ "description": "External animation setting.",
7528
+ "type": "object",
7529
+ "properties": {
7530
+ "sources": {
7531
+ "description": "Optional component fields overriding or extending host telemetry.",
7532
+ "type": "object",
7533
+ "propertyNames": {
7534
+ "type": "string",
7535
+ "minLength": 1
7536
+ },
7537
+ "additionalProperties": {
7538
+ "type": "object",
7539
+ "properties": {
7540
+ "component": {
7541
+ "type": "string",
7542
+ "minLength": 1,
7543
+ "description": "Component on this same entity."
7544
+ },
7545
+ "path": {
7546
+ "minItems": 1,
7547
+ "type": "array",
7548
+ "items": {
7549
+ "anyOf": [
7550
+ {
7551
+ "type": "string",
7552
+ "minLength": 1
7553
+ },
7554
+ {
7555
+ "type": "integer",
7556
+ "minimum": 0,
7557
+ "maximum": 9007199254740991
7558
+ }
7559
+ ]
7560
+ },
7561
+ "description": "Explicit property names or array indices leading to a number or boolean."
7562
+ }
7563
+ },
7564
+ "required": [
7565
+ "component",
7566
+ "path"
7567
+ ],
7568
+ "additionalProperties": false
7569
+ }
7570
+ },
7571
+ "bindings": {
7572
+ "type": "array",
7573
+ "items": {
7574
+ "type": "object",
7575
+ "properties": {
7576
+ "node": {
7577
+ "type": "string",
7578
+ "minLength": 1,
7579
+ "description": "Exact loaded GLB node name."
7580
+ },
7581
+ "source": {
7582
+ "type": "string",
7583
+ "minLength": 1,
7584
+ "description": "Named simulation signal."
7585
+ },
7586
+ "property": {
7587
+ "type": "string",
7588
+ "enum": [
7589
+ "rotation",
7590
+ "position"
7591
+ ],
7592
+ "description": "Local transform channel."
7593
+ },
7594
+ "axis": {
7595
+ "type": "string",
7596
+ "enum": [
7597
+ "x",
7598
+ "y",
7599
+ "z"
7600
+ ],
7601
+ "description": "Local transform axis."
7602
+ },
7603
+ "scale": {
7604
+ "description": "Multiply the signal by this value. Supply this or keys.",
7605
+ "type": "number"
7606
+ },
7607
+ "offset": {
7608
+ "description": "Offset after scaling; default zero.",
7609
+ "type": "number"
7610
+ },
7611
+ "keys": {
7612
+ "description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
7613
+ "minItems": 2,
7614
+ "type": "array",
7615
+ "items": {
7616
+ "type": "array",
7617
+ "prefixItems": [
7618
+ {
7619
+ "type": "number"
7620
+ },
7621
+ {
7622
+ "type": "number"
7623
+ }
7624
+ ],
7625
+ "items": false,
7626
+ "minItems": 2,
7627
+ "maxItems": 2
7628
+ }
7629
+ },
7630
+ "ease": {
7631
+ "description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
7632
+ "type": "string",
7633
+ "enum": [
7634
+ "linear",
7635
+ "smooth"
7636
+ ]
7637
+ },
7638
+ "min": {
7639
+ "description": "Minimum displacement from authored pose.",
7640
+ "type": "number"
7641
+ },
7642
+ "max": {
7643
+ "description": "Maximum displacement from authored pose.",
7644
+ "type": "number"
7645
+ }
7646
+ },
7647
+ "required": [
7648
+ "node",
7649
+ "source",
7650
+ "property",
7651
+ "axis"
7652
+ ],
7653
+ "additionalProperties": false
7654
+ },
7655
+ "description": "Per-model node channels and their signal calibration."
7656
+ }
7657
+ },
7658
+ "required": [
7659
+ "bindings"
7660
+ ],
7661
+ "additionalProperties": false
6284
7662
  }
6285
7663
  },
6286
7664
  "required": [
@@ -6306,7 +7684,7 @@ Required: `kind`, `color`, `spec`, `visual`
6306
7684
 
6307
7685
  ### `vehicleInput`
6308
7686
 
6309
- Driver intent: signed throttle (negative brakes then reverses), signed steering (positive right), brake/handbrake.
7687
+ Driver intent: signed throttle (negative brakes then reverses), signed steering (positive right), service brake and optional handbrake.
6310
7688
 
6311
7689
  Required: `throttle`, `steering`, `brake`
6312
7690
 
@@ -6340,7 +7718,11 @@ Required: `throttle`, `steering`, `brake`
6340
7718
  },
6341
7719
  "brake": {
6342
7720
  "type": "boolean",
6343
- "description": "Apply the service/parking brake while true."
7721
+ "description": "Apply the service brakes (all wheels, anti-lock) while true; holds the car at rest."
7722
+ },
7723
+ "handbrake": {
7724
+ "description": "Lock the rear wheels while true: they slide instead of rolling, for handbrake turns.",
7725
+ "type": "boolean"
6344
7726
  }
6345
7727
  },
6346
7728
  "required": [
@@ -6396,11 +7778,11 @@ Required: `speed`, `steer`, `yaw`, `pitch`, `roll`, `vy`, `grounded`, `waitingFo
6396
7778
  },
6397
7779
  "pitch": {
6398
7780
  "type": "number",
6399
- "description": "Chassis rotation about local X in radians, from terrain support."
7781
+ "description": "Chassis rotation about local X in radians from terrain support, nose down positive."
6400
7782
  },
6401
7783
  "roll": {
6402
7784
  "type": "number",
6403
- "description": "Chassis rotation about local Z in radians, from terrain support."
7785
+ "description": "Chassis rotation about local Z in radians from terrain support, right side down positive."
6404
7786
  },
6405
7787
  "vy": {
6406
7788
  "type": "number",
@@ -6417,6 +7799,40 @@ Required: `speed`, `steer`, `yaw`, `pitch`, `roll`, `vy`, `grounded`, `waitingFo
6417
7799
  "wheelAngle": {
6418
7800
  "type": "number",
6419
7801
  "description": "Accumulated wheel spin angle in radians, wrapped each revolution."
7802
+ },
7803
+ "pedalAngle": {
7804
+ "description": "Cycle crank angle in radians; advances under forward power and holds while coasting or braking.",
7805
+ "type": "number"
7806
+ },
7807
+ "lateralSpeed": {
7808
+ "description": "Sideways speed in meters per second, positive to the left: the slide.",
7809
+ "type": "number"
7810
+ },
7811
+ "yawRate": {
7812
+ "description": "Yaw rate in radians per second, positive turning left.",
7813
+ "type": "number"
7814
+ },
7815
+ "bodyPitch": {
7816
+ "description": "Suspension pitch in radians on top of the terrain, nose down positive.",
7817
+ "type": "number"
7818
+ },
7819
+ "bodyPitchRate": {
7820
+ "description": "Suspension pitch rate in radians per second.",
7821
+ "type": "number"
7822
+ },
7823
+ "bodyRoll": {
7824
+ "description": "Suspension roll in radians on top of the terrain, right side down positive.",
7825
+ "type": "number"
7826
+ },
7827
+ "bodyRollRate": {
7828
+ "description": "Suspension roll rate in radians per second.",
7829
+ "type": "number"
7830
+ },
7831
+ "skid": {
7832
+ "description": "0–1: how far the tires are past their grip (sliding, wheelspin, locked wheels).",
7833
+ "type": "number",
7834
+ "minimum": 0,
7835
+ "maximum": 1
6420
7836
  }
6421
7837
  },
6422
7838
  "required": [
@@ -6575,6 +7991,42 @@ Required: none
6575
7991
  },
6576
7992
  "additionalProperties": false
6577
7993
  },
7994
+ "wind": {
7995
+ "description": "Spatial and temporal structure of the wind around the mean atmosphere.windVelocity. Deterministic from seed and simulation time; consumes no simulation RNG.",
7996
+ "type": "object",
7997
+ "properties": {
7998
+ "referenceHeight": {
7999
+ "description": "Height above ground in meters where atmosphere.windVelocity is measured; default 10.",
8000
+ "type": "number",
8001
+ "exclusiveMinimum": 0
8002
+ },
8003
+ "shear": {
8004
+ "description": "Power-law exponent of mean wind speed with height above ground, up to 600 m; default 0 (uniform). About 0.14 over open country, 0.3 over cities.",
8005
+ "type": "number",
8006
+ "minimum": 0,
8007
+ "maximum": 1
8008
+ },
8009
+ "turbulence": {
8010
+ "description": "Turbulence intensity 0–1, default 0: about 0.15 light chop, 0.4 moderate, 0.8 severe. Grows with wind speed and fades above the 1 km boundary layer.",
8011
+ "type": "number",
8012
+ "minimum": 0,
8013
+ "maximum": 1
8014
+ },
8015
+ "gusts": {
8016
+ "description": "Gust factor 0–1, default 0: along-wind speed swings as a fraction of the mean wind, advected with it.",
8017
+ "type": "number",
8018
+ "minimum": 0,
8019
+ "maximum": 1
8020
+ },
8021
+ "terrain": {
8022
+ "description": "Strength 0–1 of wind deflected by terrain slopes: ridge lift upwind, sink in the lee. Default 0.",
8023
+ "type": "number",
8024
+ "minimum": 0,
8025
+ "maximum": 1
8026
+ }
8027
+ },
8028
+ "additionalProperties": false
8029
+ },
6578
8030
  "seed": {
6579
8031
  "description": "Stable visual pattern seed, default 1. Does not consume simulation RNG.",
6580
8032
  "type": "integer",