@bendyline/molen-tooling 0.0.11 → 0.0.13

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 (70) hide show
  1. package/dist/capture/harness.js +682 -293
  2. package/dist/capture/worldgen-preview.js +396 -298
  3. package/dist/cli.mjs +2 -2
  4. package/dist/docs-src/guide/3d-art-guidelines.md +34 -10
  5. package/dist/docs-src/guide/3d-model-assets.md +27 -2
  6. package/dist/docs-src/guide/adaptive-performance.md +42 -7
  7. package/dist/docs-src/guide/aircraft.md +249 -27
  8. package/dist/docs-src/guide/ambient-life.md +28 -5
  9. package/dist/docs-src/guide/audio.md +19 -5
  10. package/dist/docs-src/guide/boats.md +9 -4
  11. package/dist/docs-src/guide/boost-mode.md +64 -0
  12. package/dist/docs-src/guide/building-interiors.md +7 -2
  13. package/dist/docs-src/guide/determinism.md +1 -1
  14. package/dist/docs-src/guide/dioramas.md +17 -4
  15. package/dist/docs-src/guide/earth-view.md +225 -24
  16. package/dist/docs-src/guide/entities.md +87 -5
  17. package/dist/docs-src/guide/figures.md +31 -7
  18. package/dist/docs-src/guide/graphics-performance.md +203 -24
  19. package/dist/docs-src/guide/input.md +34 -1
  20. package/dist/docs-src/guide/liveries.md +167 -0
  21. package/dist/docs-src/guide/livery-catalog.md +2659 -0
  22. package/dist/docs-src/guide/livery-gallery.md +2684 -0
  23. package/dist/docs-src/guide/medium-fi.md +279 -27
  24. package/dist/docs-src/guide/navigation.md +5 -2
  25. package/dist/docs-src/guide/night-lighting.md +96 -0
  26. package/dist/docs-src/guide/project.md +6 -1
  27. package/dist/docs-src/guide/recognizable-places.md +6 -0
  28. package/dist/docs-src/guide/regional-fleets.md +94 -0
  29. package/dist/docs-src/guide/regional-world.md +19 -6
  30. package/dist/docs-src/guide/rendering-backends.md +6 -2
  31. package/dist/docs-src/guide/sky.md +36 -3
  32. package/dist/docs-src/guide/structure-library.md +4 -1
  33. package/dist/docs-src/guide/surface-rendering.md +276 -2
  34. package/dist/docs-src/guide/terrain.md +43 -0
  35. package/dist/docs-src/guide/typography.md +105 -0
  36. package/dist/docs-src/guide/vehicle-interiors.md +169 -9
  37. package/dist/docs-src/guide/vehicles.md +26 -3
  38. package/dist/docs-src/guide/weather.md +15 -8
  39. package/dist/docs-src/guide/worldgen.md +100 -13
  40. package/dist/docs-src/llms.txt +9 -1
  41. package/dist/docs-src/schemas/README.md +3 -0
  42. package/dist/docs-src/schemas/archstyle.md +65 -0
  43. package/dist/docs-src/schemas/components.md +2009 -213
  44. package/dist/docs-src/schemas/fleet-catalog.md +113 -0
  45. package/dist/docs-src/schemas/landmark.md +10 -0
  46. package/dist/docs-src/schemas/matgraph.md +11 -1
  47. package/dist/docs-src/schemas/pack-source.md +11 -1
  48. package/dist/docs-src/schemas/pack.md +1 -1
  49. package/dist/docs-src/schemas/project.md +1 -1
  50. package/dist/docs-src/schemas/regional-catalog.md +39 -0
  51. package/dist/docs-src/schemas/scatter.md +36 -0
  52. package/dist/docs-src/schemas/structure-placement-data.md +753 -0
  53. package/dist/docs-src/schemas/structure-placement-index.md +87 -0
  54. package/dist/docs-src/schemas/structure-placements.md +274 -0
  55. package/dist/docs-src/schemas/transport-network.md +8 -0
  56. package/dist/docs-src/schemas/types.md +1 -1
  57. package/dist/docs-src/schemas/worldgen-batch.md +145 -0
  58. package/dist/index.d.mts +2 -0
  59. package/dist/index.mjs +1 -1
  60. package/dist/{mcp-BbxqqnD1.mjs → mcp-BXaK46X-.mjs} +1 -1
  61. package/dist/{ops-b4Pag8U-.mjs → ops-Cm7WNvb9.mjs} +55 -22
  62. package/dist/templates/city-courier/gen/molen-types.ts +240 -17
  63. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +240 -17
  64. package/dist/templates/figures-gallery/test/headless.test.ts +2 -1
  65. package/dist/templates/index.json +17 -17
  66. package/dist/templates/skybound/gen/molen-types.ts +240 -17
  67. package/dist/templates/skybound/scripts/molen-scripts.d.ts +240 -17
  68. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +240 -17
  69. package/dist/templates/top-down-arena/src/gen/molen-types.ts +240 -17
  70. package/package.json +13 -13
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { $ as formatPacked, A as inspectContentPack, B as searchDocs, C as checkTypesOp, D as buildContentPack, E as reserveNamespace, F as previewFigure, H as describeOps, I as listFigurePresets, J as checkSoundbank, K as planAudio, L as exportFrames, M as bakeNetwork, N as generateTypes, O as extractContentPack, Q as formatBytes, R as driveScene, S as rasterizeMaterial, T as projectInfo, U as formatOp, V as OPS_CATALOG, W as checkScripts, X as stageAssets, Z as screenshotAsset, _ as loadComponentRegistry, b as diffSnapshots, c as validateAsset, d as runSimulation, dt as playExperience, et as packAsset, f as screenshotScene, g as listSchemasOp, h as listComponentsOp, i as bakeWorldgen, it as importAsset, j as verifyContentPack, k as fetchContentPack, l as applyUvPaintOp, m as getSchemaOp, n as worldgenStats, nt as listAssets, p as getComponentOp, q as importSound, r as previewWorldgen, s as simWatch, t as formatWorldgenStats, tt as inspectAsset, u as testTypes, v as scaffoldExperience, w as listTypes, x as runReplayFile, y as listTemplates } from "./ops-b4Pag8U-.mjs";
2
+ import { $ as formatPacked, A as inspectContentPack, B as searchDocs, C as checkTypesOp, D as buildContentPack, E as reserveNamespace, F as previewFigure, H as describeOps, I as listFigurePresets, J as checkSoundbank, K as planAudio, L as exportFrames, M as bakeNetwork, N as generateTypes, O as extractContentPack, Q as formatBytes, R as driveScene, S as rasterizeMaterial, T as projectInfo, U as formatOp, V as OPS_CATALOG, W as checkScripts, X as stageAssets, Z as screenshotAsset, _ as loadComponentRegistry, b as diffSnapshots, c as validateAsset, d as runSimulation, dt as playExperience, et as packAsset, f as screenshotScene, g as listSchemasOp, h as listComponentsOp, i as bakeWorldgen, it as importAsset, j as verifyContentPack, k as fetchContentPack, l as applyUvPaintOp, m as getSchemaOp, n as worldgenStats, nt as listAssets, p as getComponentOp, q as importSound, r as previewWorldgen, s as simWatch, t as formatWorldgenStats, tt as inspectAsset, u as testTypes, v as scaffoldExperience, w as listTypes, x as runReplayFile, y as listTemplates } from "./ops-Cm7WNvb9.mjs";
3
3
  import { dirname, join } from "node:path";
4
4
  import { readFileSync } from "node:fs";
5
5
  import { formatIssues } from "@bendyline/molen-schema";
@@ -1254,7 +1254,7 @@ async function cmdWorldgen(args) {
1254
1254
  return 2;
1255
1255
  }
1256
1256
  async function cmdMcp() {
1257
- const { startMcpServer } = await import("./mcp-BbxqqnD1.mjs");
1257
+ const { startMcpServer } = await import("./mcp-BXaK46X-.mjs");
1258
1258
  await startMcpServer();
1259
1259
  return 0;
1260
1260
  }
@@ -10,6 +10,18 @@ These guidelines apply to imported static GLBs, built-in instanced props, and pa
10
10
  worldgen buildings. They are authoring targets, not new runtime hard limits. Use the existing
11
11
  [model asset workflow](3d-model-assets.md) for import, validation, hashes, hosting, and captures.
12
12
 
13
+ Controllable road, rail, air and water vehicles follow the
14
+ [close-view vehicle standard](medium-fi.md#controllable-vehicles-close-view-fidelity), above
15
+ the detail level of ordinary scenery. Preserve polygonal construction while adding the
16
+ panels, fasteners, markings, mechanical fittings and furnished operator views visible at
17
+ driving distance. Generic vehicle display names use the Bendy house brand; identified real
18
+ vehicles retain their actual names.
19
+
20
+ For all vehicle modeling, aim to verify both exterior and interior proportions with
21
+ [calibrated reference overlays](medium-fi.md#vehicle-reference-overlays). Compare during shape
22
+ construction, record independent landmark checks, and document unavailable views and uncertain
23
+ reconstructions. Surface detail does not compensate for incorrect body or cabin geometry.
24
+
13
25
  ## Recognition and shape
14
26
 
15
27
  Work from large to small: footprint and height, roof and massing, entrance and facade rhythm,
@@ -25,8 +37,10 @@ own an entire strip mall. Apply its facade locally and retain other tenants.
25
37
  Flat or gently faceted surfaces are the default. Use hard normals on architecture and metal
26
38
  edges; smooth normals only on deliberately round shapes. Curved identity marks should still
27
39
  read at low polygon counts. Avoid tiny bevels, microdisplacement, alpha-card foliage and surface
28
- noise that shimmer at street-view distance. Signs face +Z in their own frame and must read from
29
- the street; never mirror text to compensate for an incorrectly oriented facade.
40
+ noise that shimmer at street-view distance; generated tree crowns are the one exception, cut from
41
+ the scatter material's shared leaf atlas (see the [medium-fi style guide](medium-fi.md)). Signs
42
+ face +Z in their own frame and must read from the street; never mirror text to compensate for an
43
+ incorrectly oriented facade.
30
44
 
31
45
  ## Scale and pivots
32
46
 
@@ -65,7 +79,8 @@ model; scene and tile budgets still control total instances and building vertice
65
79
  | Ordinary tree | 300–2,000 triangles | Fewer crown clusters, then a faceted crown/cone |
66
80
  | Small static building | 1,000–8,000 triangles | Remove furniture and small facade details |
67
81
  | Procedural building | Budgeted per outline | Keep measured envelope, main roof and identity where feasible |
68
- | Figure (human or animal) | 1,000–4,000 triangles, one vertex-color material | 600–900 medium tier; 100–300 rigid distant tier |
82
+ | Human figure | About 7,400 triangles, one vertex-color material | About 2,200 medium tier; 1,100 rigid distant tier |
83
+ | Animal figure | About 4,100–6,500 triangles, one vertex-color material | About 2,100–2,900 medium; 1,100–1,500 rigid distant tier |
69
84
 
70
85
  Higher budgets need a visible reason and a distance fallback. Repeated street furniture and signs
71
86
  should be instanced by model reference. Prefer a shared vertex-color material; do not allocate
@@ -78,13 +93,22 @@ unseeded randomness, or locale-dependent sorting to generate geometry.
78
93
 
79
94
  ## Figures
80
95
 
81
- Figures ([guide](figures.md)) stay left of the uncanny valley on purpose: a head about one
82
- sixth of the height for adults and closer to a quarter for children, mitten hands, block shoes or
83
- hooves, disc eyes and brows with no mouth, nose or teeth, hair as a solid shell, and clothing as
84
- vertex-color blocks with hard edges at cuffs, hems and collars. Segments are smooth within
85
- themselves and low in ring count (eight to twelve sides), joints share rings with two bone
86
- influences, and each figure uses three to five intentional colors from its palette. Animals
87
- follow the same rules: a barrel body, cone ears, a snout, hooves or paws, and one marking color.
96
+ Human figures ([guide](figures.md)) target early open-world polygonal realism: a shaped jaw,
97
+ cheekbones and nose, inset almond eyes with lids, ears, lips, a shaped hairline, and recognizable
98
+ hands and shoes. Keep adult proportions believable and preserve the larger child head. Clothing
99
+ needs a waist, shoulders, cuffs, a crotch seam and clear garment boundaries; avoid disconnected
100
+ capsule limbs or overlapping pelvis shells. Near hands have four gently curled fingers and a
101
+ tucked thumb; lower levels merge the curved fingers. Resting forearms turn the backs of the
102
+ hands diagonally forward. All of this follows the existing 22-joint biped skeleton.
103
+
104
+ Use shared palette-driven surfaces, with geometric relief responding to scene lighting rather
105
+ than painted shadows. Keep surface normals and face winding outward. Reserve the extra near
106
+ triangles for features visible in close views and retain the cheaper medium and distant bodies.
107
+ Animals use species-shaped ribcages and bellies, shoulders and haunches that emerge from the
108
+ torso, continuous skull-to-muzzle surfaces, cupped ears, eyelids, rounded paws or split/single
109
+ hooves, and curved tails. Coat markings belong on visible surfaces. Keep eye and ear placement
110
+ readable from the front as well as the side. Strip whiskers, toe divisions and hair strands
111
+ before simplifying the silhouette at distance.
88
112
  Review every preset from the front, three-quarter, rear and gameplay distance
89
113
  (`molen figure preview --angles review`) beside a door and a bench before accepting a look.
90
114
 
@@ -57,6 +57,11 @@ Before making geometry, decide the points that affect the runtime result:
57
57
  Do not invent requirements that materially change the prompt. Record reasonable assumptions in
58
58
  the asset README or build report.
59
59
 
60
+ For any vehicle, plan exterior **and** interior reference comparisons before constructing
61
+ detail. The [vehicle overlay goal](medium-fi.md#vehicle-reference-overlays) applies to real
62
+ vehicles and generic Bendy designs: use calibrated drawings and matched-camera photographs
63
+ where available, and record missing references and reconstruction assumptions separately.
64
+
60
65
  ## 2. Keep source and runtime artifacts separate
61
66
 
62
67
  A practical project-local layout follows the [logical source bundle](source-bundles.md) contract:
@@ -116,6 +121,12 @@ reference contract, metric UV scale, tinting and shared texture lifetime. Keep u
116
121
  murals and facade art as their own materials. Inspect the model in the Earth renderer as well
117
122
  as its portable asset preview when it uses these bindings.
118
123
 
124
+ The textured `window` slot uses a precolored glass texture and deliberately ignores vertex
125
+ tints. A neutral shared graph such as `metal_painted` will therefore lose a dark palette tint
126
+ in that slot. Use the `trim` slot for tinted painted frames or closed dark inset panels, and
127
+ reserve `window` for a graph that already contains the intended glass color. Check the shared
128
+ material render during construction; the portable GLB preview does not exercise this behavior.
129
+
119
130
  Choose a continuous surface for individually modeled stones: `stone_limestone_raw` has subtle
120
131
  pores and mineral mottling with a 1.2 × 1.2 m repeat. `stone_limestone_weathered` uses the same
121
132
  scale with stronger mineral variation, dark patina and open pores for exposed ancient stones.
@@ -258,6 +269,12 @@ Look at every PNG. Check silhouette, scale, origin, camera clipping, UV seams, m
258
269
  normal direction, texture repetition, transparent edges, light balance, and cast/contact shadows.
259
270
  Iterate until the screenshot—not merely the command exit code—matches the brief.
260
271
 
272
+ For vehicles, include the [reference overlay review](medium-fi.md#vehicle-reference-overlays)
273
+ throughout shape iteration: exterior silhouettes, then cabin/panel volumes and the operator's
274
+ view. Inspect discrepancies before adding fine detail. Record calibration and independent
275
+ landmark checks; an attractive overlay with stretched proportions is not evidence of accuracy.
276
+ When a usable view is unavailable, document the gap and the fallback comparison actually made.
277
+
261
278
  ## 8. Host in a browser experience
262
279
 
263
280
  The default URL provider maps an id like `barn.weathered` to
@@ -327,14 +344,22 @@ still requires actually looking at current renders. In the engine repository, `p
327
344
  rejects tracked bulk captures while allowing required source images and summary previews.
328
345
 
329
346
  For a landmark collection whose buildings occupy separate sites, keep each building as an
330
- independent asset and geographic placement. The repository's next-1,000 catalog declares
331
- required members in `content/worldgen/source/next-1000/collections.json`; the authoring/import
347
+ independent asset and geographic placement. The repository's structure catalog catalog declares
348
+ required members in `content/worldgen/source/structure-catalog/collections.json`; the authoring/import
332
349
  commands expand a collection ID to its authored members, while readiness requires every
333
350
  declared member's own current source, import and inspected render/placement evidence. A
334
351
  collection never supplies a composite GLB or centroid placement. Reuse an existing exact
335
352
  building identity when one is already registered. Runtime spatial selection still operates on
336
353
  individual placements and fetches only the nearby models.
337
354
 
355
+ When the site has one shared Wikidata identity but its buildings have no separate Wikidata
356
+ items, a collection may use `identityKind: "osm-members"`. Declare each independent OSM node,
357
+ way or relation in the member's `featureId` and in the attributed membership evidence's
358
+ `featureIds`. Keep the shared site QID; do not invent member QIDs. Each source map frame must
359
+ identify its own declared feature. Placements that share this site QID must retain their
360
+ individual map anchors and disjoint map matching radii; an overlapping or repeated identity
361
+ is rejected. Readiness still requires every member's own model and review.
362
+
338
363
  Keep a concise README or machine-readable build report next to the source. Record:
339
364
 
340
365
  - the original asset prompt and all material-generation prompts;
@@ -17,10 +17,28 @@ While content streams, slow frames lower detail only when the measured CPU/GPU f
17
17
  heavy: streaming work runs outside the frame, and a lower tier would restart it. After a memory
18
18
  step, the controller lets that step's lower-detail replacements load (up to the recovery delay)
19
19
  before stepping again, since retained content keeps displayed bytes high until they arrive.
20
+ The explorer starts sampling once its first view has finished loading, or after 20 seconds: the
21
+ first frames carry one-time work (ground refining under the camera, collision trees rebuilt for
22
+ each refinement, models and materials arriving), and measured as overload it stepped a fast
23
+ desktop to the lowest tier before the visitor had moved. While calibrating it recovers quickly
24
+ but lowers detail only after 2.5 s of overload (`EARTH_CALIBRATION_QUALITY`): lifting off reveals
25
+ a whole view at once, and the second of streaming that follows took every takeoff down a level,
26
+ then back up in flight, a rebuild each way. Auto climbs no higher than Balanced, like Earth view's
27
+ default `maxQualityLevel`; above it buildings switch to the high preset, which rebuilds them across
28
+ the view. Once a level has held for
29
+ `EARTH_QUALITY_CALIBRATION_MS` (12 s), the explorer, like Earth view, adapts with
30
+ `EARTH_STICKY_QUALITY` timings: down after 2.5 s of sustained overload, up after 20 s of headroom,
31
+ changes at least 6 s apart. Every change swaps resolution, shadows and building detail across the
32
+ view (Low and Medium differ in worldgen quality, so a step regenerates every resident town tile),
33
+ and the quick defaults flipped a jet between them every 10 to 15 seconds.
20
34
 
21
35
  The explorer applies each tier to drawing-buffer resolution, terrain screen-space error and
22
36
  range, selected/resident tile limits, terrain and semantic request concurrency, worldgen cache
23
- bytes, object LOD error, and surface decoration budgets. Pixel limits include high-DPI and
37
+ bytes, object LOD error, and surface decoration budgets. Every tier keeps at least 12 terrain and 24
38
+ layer requests in flight: they bound loading (archive reads, worker decoding and generation), not
39
+ main-thread work, which admission meters (see [graphics performance](graphics-performance.md)). At
40
+ 4 and 8 a jet's newly selected tiles waited in line rather than loading while the workers sat
41
+ idle, and the coarse parent stayed on screen for a second or more. Pixel limits include high-DPI and
24
42
  ultrawide displays. CPU caches and resident geometry have separate limits:
25
43
 
26
44
  | Tier | Maximum rendered pixels | Terrain error | Selected tiles | Resident buffer budget | Worldgen cache |
@@ -34,14 +52,26 @@ ultrawide displays. CPU caches and resident geometry have separate limits:
34
52
 
35
53
  Each tier also names its sun shadow quality (`EarthPerformanceTier.shadows`): off at Minimum and
36
54
  Low, medium at Medium, and high from Balanced up. On WebGPU the main pass keeps its render bundles
37
- while shadows are on, but every bundled object refreshes each frame, because that refresh is what
38
- redraws the shadow map and keeps receivers in step with it; shadows therefore cost real CPU time
39
- on WebGPU, and the controller accounts for it like any other work. Bundles exist only inside
55
+ while shadows are on. In a replayed bundle that has not changed since it was recorded, only the
56
+ first object of each material refreshes in a render: that refresh redraws the shadow map and
57
+ updates the material's shared uniforms, and the snapshot of transforms and material properties
58
+ re-records the bundle when anything else changes. Node materials whose owners set `uniform()`
59
+ values each frame (terrain water's time, the ground's origin) still refresh every object. A node
60
+ material without such values sets `userData.bundleStatic` to refresh like the rest (the scatter
61
+ and building materials do); three.js would otherwise refresh every node-material object each
62
+ frame, about 1,500 refreshes a frame at street level. Bundles exist only inside
40
63
  the frame. Between frames, warm-up compiles run the sun's shadow pass over the scene, and there
41
64
  the groups draw normally, so a tile that an admission job swapped and disposed is never replayed
42
65
  from a stale bundle. Once a WebGPU shadow map
43
66
  exists it keeps its size, and "off" stops redrawing it and fades it out rather than releasing it,
44
- because three.js's WebGPU shadow node cannot be torn down and rebuilt in place. Tiers change cost, never the
67
+ because three.js's WebGPU shadow node cannot be torn down and rebuilt in place. WebGL parks the
68
+ map the same way once a light has cast shadows: each lit program is built for the shadows it
69
+ receives, and clearing them rebuilt every program in view, synchronously, in the next frame
70
+ (seconds of frozen flight when a tier crossed into Low). Earth hosts turn shadows on once before
71
+ anything is built, so tier changes only stop or resume drawing the map. A parked map still draws
72
+ once when a caster of a new kind (instanced, skinned, alpha-tested, another side) is prepared, so
73
+ its depth program is built as it streams in rather than with every other one in the frame
74
+ shadows return. Tiers change cost, never the
45
75
  look: the palette, light rig and styles are the same in every tier (see the
46
76
  [medium-fi style guide](medium-fi.md#rendering-modes)).
47
77
 
@@ -54,7 +84,9 @@ reclaimable warm cache does not prevent recovery. It does not measure them again
54
84
  resident cap: each step down shrinks that cap, so a dense city's buildings would cascade every
55
85
  step to the lowest tier while the view stayed the same. Total resident bytes
56
86
  still control eviction. After asynchronous surface replacements settle, `refreshMemoryUsage()`
57
- updates the cached estimates. Existing surface grids keep their resolution
87
+ updates the cached estimates; the explorer passes `'displayed'`, re-counting only tiles on
88
+ screen, where surface detail changes in place. Its HUD shows displayed bytes ("shown") beside the
89
+ resident total. Existing surface grids keep their resolution
58
90
  to preserve drape alignment; newly admitted terrain uses the current cap.
59
91
 
60
92
  ## Object detail and visibility
@@ -63,7 +95,10 @@ to preserve drape alignment; newly admitted terrain uses the current cap.
63
95
  viewport height, camera field of view/zoom, conservative spatial bounds and a configurable pixel
64
96
  error. The same mutable policy updates resident objects without generation or instance uploads.
65
97
  Perspective and orthographic cameras are supported, including parent scale and floating origins.
66
- Transitions have 15% hysteresis.
98
+ Transitions have 15% hysteresis. World Explorer scales the tier's pixel error with height above
99
+ the ground, from 100 m up (three times the budget at 300 m, at most four), so a flying camera
100
+ spends no GPU time on tree and building detail below a pixel; street and rooftop views keep the
101
+ tier's budget.
67
102
 
68
103
  Builtin vegetation uses three shared models in spatial cells; the far fir/conifer is 12 triangles
69
104
  and the far broadleaf crown is 20. Building cells use authored materials nearby, a single
@@ -1,17 +1,31 @@
1
1
  # Aircraft in the world explorer
2
2
 
3
- The world explorer includes a P-51D Mustang and OH-6 interpretation, each with an editable
4
- GLB, reusable entity type, flight physics, an instrumented cockpit and a chase camera.
3
+ The world explorer includes 53 aircraft: the P-51D Mustang, OH-6 interpretation, Bendy Small Airliner
4
+ and fifty additional real-type interpretations. Each has an editable GLB, reusable entity type,
5
+ flight physics, an instrumented cockpit and a chase camera. The additions include ten helicopters,
6
+ ten general aviation aircraft, ten fighters, five cargo transports, the MV-22B Osprey, AV-8B Harrier
7
+ and thirteen utility, regional, historic and business aircraft. All use clean configurations without
8
+ external weapons.
5
9
 
6
- Use the **P-51 Mustang** or **OH-6** buttons to visit the practice airfield, then press **E** to
10
+ Compare national markings and camouflage in the [livery gallery](livery-gallery.md), then
11
+ find every aircraft’s choices and reference evidence in the [livery catalog](livery-catalog.md#aircraft).
12
+
13
+ Use the **P-51 Mustang**, **OH-6** or **Bendy Small Airliner** buttons to visit the practice airfield, then press **E** to
7
14
  board. The aircraft buttons also work from the example hub's world view. A direct link can use
8
- `?aircraft=p51d` or `?aircraft=oh6`. See [Vehicle interiors and instruments](vehicle-interiors.md)
15
+ `?aircraft=p51d`, `?aircraft=oh6` or `?aircraft=airliner`. The **Aircraft catalog** selector visits
16
+ the additional models; direct links also accept suffixes such as `?aircraft=uh_1h`,
17
+ `?aircraft=f_16b`, `?aircraft=c_17a` and `?aircraft=mv_22b`.
18
+ The three original practice models load initially. Additional GLBs load on selection, with one
19
+ additional request in flight and intermediate selections coalesced. Replacing a selection releases
20
+ its model and ECS entity; an occupied aircraft is retained. The host's content-pack byte cache
21
+ still follows its own cache budget. The catalog does not download all fifty new models on entry.
22
+ See [Vehicle interiors and instruments](vehicle-interiors.md)
9
23
  for cockpit source files, per-model instrument bindings and the shared exterior/seated GLB
10
24
  contract.
11
25
 
12
- The practice airfield is a raised 900-meter runway and helipad near the initial camera position.
26
+ The practice airfield is a raised 4,500-meter runway and helipad near the initial camera position.
13
27
  Its foundation clears streamed buildings; it is a fictional practice location, not a mapped airport.
14
- Both aircraft stay in the ECS and retain their position throughout the session, across terrain
28
+ The aircraft stay in the ECS and retain their position throughout the session, across terrain
15
29
  streaming and floating-origin changes. Reloading starts a fresh session.
16
30
 
17
31
  ## Controls
@@ -20,13 +34,14 @@ streaming and floating-origin changes. Reloading starts a fresh session.
20
34
  | --- | --- |
21
35
  | E | Board, or exit after landing, stopping and engine shutdown |
22
36
  | I | Start/stop engine; allow the propeller or rotor to spool |
23
- | Shift / Ctrl | Increase/decrease throttle (Mustang) or collective (OH-6); holds its setting on release |
37
+ | Shift / Ctrl | Increase/decrease throttle or helicopter collective; fighter afterburners engage above 85% throttle |
24
38
  | W / S | Nose down / nose up |
25
39
  | A / D | Bank left / right; helicopter cyclic |
26
40
  | Q / Z | Left / right rudder or anti-torque pedals; ground steering in the Mustang |
27
41
  | Space | Wheel brakes |
28
- | G | Retract/extend Mustang gear while airborne |
29
- | F | Toggle Mustang flaps |
42
+ | G | Retract/extend airplane gear while airborne |
43
+ | F | Toggle airplane flaps |
44
+ | J | Cycle powered-lift lever: forward, 22.5°, 45°, 67.5°, vertical; Osprey/Harrier only |
30
45
  | V | Cockpit / chase |
31
46
  | Mouse | Look around the cockpit |
32
47
  | R | Recover at the airfield after an impact |
@@ -56,21 +71,75 @@ cyclic inputs tilt rotor thrust to travel. Lower collective gently to land. Swit
56
71
  and wait for the rotor to stop before exiting. An aircraft cannot be exited or switched to free
57
72
  flight while airborne. After an impact, R resets its aircraft state and places it on the airfield.
58
73
 
74
+ Bendy Small Airliner: the generic 39-meter twin uses the same airplane controls, with slower
75
+ responses and a lower load-factor limit than the Mustang. Its two independently named engines
76
+ use the jet thrust model, calibrated to a representative Mach 0.78 cruise. It is a fictional
77
+ aircraft. The flight deck has an animated yoke; its display
78
+ markings are decorative, while live flight readings come from the HUD. Board at the forward
79
+ entry point. Its larger footprint needs substantially more runway and clearance.
80
+
81
+ Osprey and Harrier: use J to select vertical thrust (the parked Osprey starts there), allow the nacelles/nozzles to
82
+ reach 90°, start the engine and increase power smoothly. W/S, A/D and Q/Z provide powered pitch,
83
+ roll and yaw control in a hover. Transition toward forward thrust gradually while gaining airspeed;
84
+ the nacelles take 12 seconds for full travel and Harrier nozzles take 3. These are simplified
85
+ powered-lift dynamics, with finite travel, vertical thrust, engine-dependent hover authority and
86
+ airspeed blending. They do not simulate a real conversion corridor, transmission cross-shaft,
87
+ vortex-ring state, hot-gas ingestion or a certified nozzle schedule. Fixed landing gear remains
88
+ down regardless of G. Cargo aircraft have larger clearance and runway requirements.
89
+
59
90
  Cockpit needles show airspeed, altitude, heading, vertical speed and RPM; the artificial horizon
60
91
  banks with the aircraft. The HUD supplies precise knot/feet/feet-per-minute readings, AGL height,
61
- g load, power, engine/gear/flap state, stall alerts and terrain waiting status. Propellers, both helicopter
92
+ g load, power, engine/gear/flap state, stall alerts and terrain waiting status. It distinguishes
93
+ KTAS from equivalent airspeed (KEAS), shows local Mach and afterburner percentage, and flags
94
+ airframe/surface overspeed and developed departures. KEAS is not calibrated indicated airspeed.
95
+ Propellers, both helicopter
62
96
  rotors, controls, gear, flaps, ailerons, elevators and rudder animate from simulation state. The
63
97
  Mustang's gear takes 12 seconds: its inner wheel doors open, each main leg swings inboard into a
64
98
  well in the wing root, the tail wheel folds forward into the fuselage, and the doors close behind
65
99
  them. Its flaps take 13 seconds to run down to 50°.
66
100
 
101
+ ## Collisions and breakable sections
102
+
103
+ Aircraft contacts apply impulses at the point of impact, including angular response, friction
104
+ and a small rebound. A wingtip strike can turn the aircraft while it keeps moving; a wreck
105
+ continues to fall, tumble and slide. Terrain is tested at the airframe probes as well as at the
106
+ landing origin, so a banked wing can hit the runway before the wheels or fuselage.
107
+
108
+ The Mustang has detachable wings, tail surfaces and propeller; the OH-6 has a detachable rotor
109
+ and tail; the small airliner has detachable wings (with their engines) and tail. Strong impacts
110
+ or repeated loaded scrapes consume joint integrity. Separation removes the section's collision
111
+ probes, reduces lift/control authority and can disable its attached engines. An asymmetric wing
112
+ loss produces a rolling moment. Detached geometry retains its own velocity and spin, then falls,
113
+ bounces and slows against terrain and resident obstacles. Debris expires after 20 simulation
114
+ seconds; the missing section stays missing. **R** repairs the aircraft and clears debris.
115
+ The remaining aircraft use their existing probes with the new contact response; they need
116
+ authored section bindings to display parts breaking away.
117
+
118
+ For custom models, `spec.collisionParts` replaces `collisionProbes`. Every section declares a
119
+ unique `id`, a `role` (`body`, `leftWing`, `rightWing`, `tail`, `rotor`, `gear` or `engine`), local
120
+ probe centers and sphere `radius`, a section `center`, `massFraction`, and GLB `nodes`. Add
121
+ `breakSpeed` in m/s for a breakable joint and `engines` for engines carried by that section.
122
+ Keep a non-detachable `body` and at least 20% of the mass. Optional `fragments` selects triangles
123
+ from shared static detail meshes using a model-space bounding box, so markings follow a wing.
124
+ These are gameplay approximations with authored joint strengths, not a structural engineering
125
+ or accident-reconstruction model. Pieces use sphere collision proxies; mesh deformation, fire,
126
+ debris-to-debris contacts and impulse transfer into other vehicles are not simulated.
127
+
128
+ Hosts provide `AircraftEnvironment.contacts(probes, entity)` with world-space contact points,
129
+ outward normals and penetration depths. `aircraftObstacleContacts` from `client/aircraft`
130
+ adapts a collision tree, cars and other aircraft to this contract; the Earth view and world
131
+ explorer use it. The legacy `canOccupy` callback remains supported with a simple recoil because
132
+ it supplies no contact normal. `aircraftState.damage` and `debris` are serializable and survive
133
+ keyframes; `crashed` means damage requiring recovery and no longer freezes motion.
134
+
67
135
  ## Reuse in another experience
68
136
 
69
- Both aircraft ship in the `molen.entities` content pack, with their type documents and models.
137
+ All 53 aircraft are registered in the `molen.entities` content pack, with their type documents and models.
70
138
  `npx molen pack fetch https://molen.dev/packs/index.json molen.entities` downloads it and lists it
71
139
  in your project.json `packs`, and the CLI then resolves the types; in a browser, open it with `openPack` from `@bendyline/molen-pack` and pass
72
140
  `createPackSet([pack]).assetProvider()` as the client's asset provider. The entity type IDs and
73
- glTF refs are `molen.entities.aircraft.p51d` and `molen.entities.aircraft.oh6`. Fly both in
141
+ glTF refs are `molen.entities.aircraft.p51d`, `molen.entities.aircraft.oh6` and
142
+ `molen.entities.aircraft.airliner`. Fly them in
74
143
  [World Explorer](https://molen.dev/play/world-explorer/) to see the finished integration.
75
144
 
76
145
  These are not kernel presets. Each type document contains the concrete aircraft's mass and center
@@ -106,11 +175,20 @@ ownership of a loaded GLB and animates the nodes named by `spec.visual` from air
106
175
  exterior moving parts as [model-signal bindings](vehicle-interiors.md#exterior-animation), with
107
176
  keyframed curves so one gear position can sequence doors and legs.
108
177
 
178
+ For powered lift, declare `spec.poweredLift` with positive `transitTime`, `controlFadeSpeed`,
179
+ `pitchAuthority`, `rollAuthority`, `yawAuthority` and `damping`, and mark the participating
180
+ forward-facing engine installations `vectored: true`. `aircraftInput.thrustVector` is 0–1;
181
+ `aircraftState.thrustVectorPosition` is its actual actuator position. The model signal
182
+ `thrustVector` follows that position, so visuals and forces remain synchronized. Thrust rotates
183
+ from local +Z to +Y; off-center engines generate moments. Hover controls require available
184
+ engine thrust and fade with axial airspeed. `spec.airplane.fixedGear` keeps fixed undercarriage
185
+ extended independently of the pilot's selection.
186
+
109
187
  The deterministic airplane solver is a six-degree-of-freedom rigid body. The transform's
110
188
  quaternion is the attitude, with no pitch or bank stops, so loops, rolls, inverted flight and
111
189
  spins follow from the forces; `aircraftState.yaw`, `pitch` and `roll` report that attitude (roll
112
190
  is ±π inverted). Forces are lift, induced/profile/gear/flap drag, side force, propeller thrust
113
- and gravity at the center of mass, from wind-relative airflow and air density. Moments are
191
+ or jet thrust and gravity at the center of mass, from wind-relative airflow and air density. Moments are
114
192
  angle-of-attack (pitch) and weathercock (yaw) stability, roll, pitch and yaw damping, dihedral
115
193
  effect, roll from yaw rate, inertia coupling, asymmetric thrust, and, scaled by
116
194
  `propellerEffects`, propeller torque, P-factor and slipstream yaw, and gyroscopic precession.
@@ -120,7 +198,68 @@ Stall depends on wing incidence, including camber, rather than a fixed true-airs
120
198
  Separated flow progressively loses lift and control authority, adds drag, breaks the nose toward
121
199
  attached flow, and loses roll damping so yaw drops a wing. Lift remains perpendicular to airflow.
122
200
  Elevator and rudder retain limited propwash authority at low speed. Throttle controls shaft
123
- power with a transient RPM spool limit, avoiding a second steady power penalty from RPM.
201
+ power for propellers and dry/reheat thrust for jets, with a transient RPM spool limit.
202
+
203
+ ### Propulsion, altitude and performance
204
+
205
+ All 53 shipped aircraft have separate performance profiles. `engine.propulsion: 'propeller'`
206
+ uses shaft power, propeller efficiency and an altitude lapse, with `ratedDensityRatio` representing
207
+ supercharging or flat rating. `'jet'` uses `dryThrust` in newtons, density lapse and a Mach-dependent
208
+ ram term. `afterburnerThrust` is total augmented thrust per engine. The last 15% of throttle
209
+ commands reheat by default (`afterburnerDetent: 0.85`); it takes 0.6 seconds to light fully after
210
+ the engine reaches operating RPM. Engine failure or cutoff extinguishes it. Ordinary turbofans
211
+ and the Harrier have no afterburner. Omitting `propulsion` retains legacy constant-power behavior.
212
+
213
+ The atmosphere has standard temperature lapse layers, including the tropopause; sound speed
214
+ therefore changes with altitude. Wind-relative TAS drives forces; `equivalentAirspeed` is
215
+ `TAS * sqrt(density / 1.225)` and `mach` uses local sound speed. `criticalMach` and `waveDrag`
216
+ add a continuous transonic drag rise. Ground effect reduces induced drag near the surface.
217
+ `maxMach`, `maxEquivalentAirspeed`, `gearLimitSpeed` and `flapLimitSpeed` set overspeed alerts;
218
+ they do not impose a velocity cap or silently break the airframe. Surface limits are EAS
219
+ approximations, not exact POH calibrated-airspeed limits. Flap input can be a boolean or a
220
+ fraction from 0 to 1, allowing intermediate settings through commands.
221
+
222
+ The F-14 profile has an empirical high-alpha departure model: directional stability fades,
223
+ rudder/elevator authority is blanked, aileron response can reverse, and yaw autorotation can
224
+ sustain a flat spin. A symmetric stall does not receive an arbitrary spin direction. The
225
+ torque-free angular integrator preserves rotational energy through rapid rotations. NASA's
226
+ [F-14 model research](https://www.nasa.gov/pdf/601262main_ModelingFlight-ebook.pdf), especially
227
+ printed pages 126–127, supports these mechanisms; it does not supply a validated F-14D
228
+ coefficient set. This model does not reproduce the F-14A's TF30 compressor stalls, the later
229
+ digital flight-control system, or automatic variable wing sweep aerodynamics.
230
+
231
+ Helicopters retain assisted cyclic and collective controls. An actuator-disc power budget limits
232
+ lift by installed shaft power, induced power, rotor profile losses and parasitic drag power;
233
+ increasing payload cannot create extra engine power. Their calibrated parasitic drag,
234
+ density-dependent lift, ground effect and translational lift are supplemented by optional
235
+ vortex-ring lift loss in powered, slow descent and retreating-blade lift loss above an authored
236
+ equivalent speed. These are qualitative approximations, not blade-element models or an
237
+ autorotation training model. Powered-lift conversion has the separate limitations described above.
238
+
239
+ ### Headless fleet experiments
240
+
241
+ In the engine repository, build the packages before running the graphics-free harness:
242
+
243
+ ```sh
244
+ pnpm aircraft:bench --flight --check --out=.artifacts/aircraft-performance.json
245
+ pnpm aircraft:bench --id=f-14d --json
246
+ ```
247
+
248
+ The harness uses the production kernel. It solves steady lift/thrust/drag balance, sweeps five
249
+ altitudes, and runs three-minute controlled flights from 85% of each reference speed. It reports
250
+ multiple equilibrium branches rather than assuming a supersonic branch can always be reached.
251
+ The fleet unit suite also checks a withheld DA42 cruise point, F-22 dry supercruise, dirty
252
+ configuration, hot air, uniform-wind invariance and timestep convergence. Kernel tests exercise
253
+ spin symmetry, energy conservation, engine failures and reheat transients.
254
+
255
+ Reference conditions and provenance live in the
256
+ [performance ledger](https://github.com/bendyline/molen/blob/main/content/entities/source/aircraft-performance.json).
257
+ Published cruise, maximum and operating speeds are different quantities. Where a source does
258
+ not specify weight, altitude or throttle, the test condition is explicitly estimated. Some
259
+ aircraft still have engineering-estimate anchors. Passing a fitted anchor establishes internal
260
+ consistency, not independent real-world validation. All polar, lapse and high-alpha coefficients
261
+ remain approximations. Fuel burn, stores, changing mass/CG, detailed engine maps, icing,
262
+ structural failures and certified flight-control laws are not modeled.
124
263
 
125
264
  Flight assistance is limited to the pitch axis, so a keyboard can fly it. The stick moves an
126
265
  elevator (deflecting at `pitchResponse` per second and springing back four times faster) that
@@ -257,8 +396,8 @@ setAircraftEngineFailed(world, 'twin', 'left', false); // explicit repair
257
396
  `setAircraftEngineFailed` returns false for an unknown aircraft or engine. A failure immediately
258
397
  removes powered thrust and lets that propeller spool down; pilot throttle/switch input cannot
259
398
  repair it. Failure triggers belong to the experience (for example a damage or training command).
260
- The shipped world explorer still has its two single-engine aircraft and common controls; this
261
- API does not add a twin-engine model, failure key or automatic random failures.
399
+ The world explorer supplies common and individual engine controls; failure scenarios are authored through
400
+ this API, without automatic random failures.
262
401
 
263
402
  `aircraftState.engines[id]` stores `rpm`, `rotorAngle`, `failed` and current `thrust` in newtons.
264
403
  The solver initializes missing engine state from the legacy RPM/phase, then the per-engine state
@@ -267,9 +406,9 @@ follows the first engine. Set `visual.rotors[].engine` to animate independent pr
267
406
  bindings retain the common phase. Body rates, trim, all engine state and input overrides survive
268
407
  keyframes/replay and pause at terrain gaps. Boarding and exit checks consider every engine.
269
408
 
270
- This extension models propeller thrust imbalance as a yaw moment. It does not add pitch or roll
271
- moments from the thrust line, feathering, windmilling drag or a calibrated minimum-control-speed
272
- envelope; propeller torque, P-factor and precession come from `propellerEffects` above. Helicopters continue to use
409
+ This extension models thrust imbalance and, for vectored engines, pitch and roll moments from
410
+ the thrust line. Feathering, windmilling drag and a calibrated minimum-control-speed envelope
411
+ are not included; propeller torque, P-factor and precession come from `propellerEffects` above. Helicopters continue to use
273
412
  one `engine` driving the shared rotor; multiple turbines feeding a common gearbox require a
274
413
  different shaft-power model and are not represented by independent propeller engines.
275
414
 
@@ -289,11 +428,96 @@ collides with terrain. Do not add a second physics body that also writes the air
289
428
 
290
429
  This is a game flight model with recognizable polygonal aircraft, not a full aircraft systems
291
430
  simulation or a calibrated replica of any airplane's handling. Rotor blade-element aerodynamics,
292
- autorotation, vortex-ring state, a calibrated spin model, fuel, automatic engine damage, detailed
293
- avionics and weapons are outside this implementation. Cockpit switches and pedals are visual details; the listed input
294
- controls operate the simulated systems. Collision uses coarse airframe probes and resident world
431
+ autorotation, a quantitatively validated spin model, fuel, automatic engine damage, detailed
432
+ avionics and weapons are outside this implementation. Primary cockpit controls operate the simulated
433
+ systems as described below; switches for unsupported systems remain decorative. Collision uses coarse airframe probes and resident world
295
434
  geometry; it does not model deformation or distant unloaded obstacles.
296
435
 
436
+ ## Clickable cockpits
437
+
438
+ Earth views and the world explorer enable pointer controls while occupying the cockpit. Drag a
439
+ yoke or cyclic sideways to bank and down to pull up; release it to center. Pedals drag sideways
440
+ and also center on release. Drag a throttle or collective upward to increase its retained setting.
441
+ Modeled gear selectors toggle on click; flap and thrust-vector levers accept intermediate positions.
442
+ Solid panel geometry blocks clicks behind it. Dragging empty space still looks around.
443
+
444
+ All 53 bundled cockpits have physical controls for their supported systems, including engine
445
+ master switches, individual engine switches and throttles for airplanes with named engine banks,
446
+ parking brakes, and applicable gear, flap and nozzle controls. Supplemental labeled modules fill
447
+ gaps in the original models; their layout approximates the aircraft rather than reproducing every
448
+ real switch. The Cessna 172's existing master rocker and flap selector are directly operable.
449
+ Moving common power (including Shift/Ctrl or the modeled **PWR ALL** handle)
450
+ synchronizes all throttle levers while preserving individual engine cutoffs, mixtures and propeller settings. A throttle indicates
451
+ commanded power; shaft RPM follows the simulation's spool response. Retractable airplane gear is
452
+ locked on the ground. Helicopters retain the existing shared engine/gearbox model and collective.
453
+ Manual-mixture aircraft have operable mixture controls, and aircraft with manual propeller governors
454
+ have operable propeller RPM controls. Fuel selectors, avionics and other unmodeled systems remain decorative.
455
+
456
+ ### Mixture and propeller governors
457
+
458
+ `AircraftInputData.mixture` and `.propeller` are retained 0–1 selections, both defaulting to 1.
459
+ The same fields in `engines[id]` override the common selections independently. A common adjustment
460
+ synchronizes only its own control, preserving throttle, cutoff and the other engine settings.
461
+ Drag the modeled mixture or propeller lever upward to increase its setting.
462
+
463
+ An engine with `mixtureControl: true` uses a reduced fuel/air model: 0 cuts fuel immediately;
464
+ 1 is full rich. At reduced intake-air density a lower setting can recover power, while excessive
465
+ leaning or enrichment reduces combustion, thrust and available shaft power. The existing
466
+ `ratedDensityRatio` approximates boosted intake air before leaning becomes necessary. Mixture
467
+ cutoff spools the engine down without latching a failure; restoring mixture can restart it when
468
+ the engine master is on. This assisted restart does not model a starter or ignition sequence.
469
+
470
+ `propellerControl: { minRpm: 0.6 }` enables a constant-speed governor: the lever selects between
471
+ 60% and 100% of rated RPM. It does not directly set blade angle. At sufficient power the governor
472
+ holds selected RPM; at low power the fine-pitch stop permits RPM to fall. Reduced selected RPM
473
+ limits shaft power in the torque-limited approximation and lowers the static thrust cap. RPM,
474
+ propeller rotation, torque and thrust all follow these inputs. This follows the distinction between
475
+ throttle, mixture and governed RPM in the [FAA engine-controls overview](https://www.faasafety.gov/gslac/ALC/libview_printerfriendly.aspx?id=6849).
476
+
477
+ These are estimated simulation curves, not aircraft performance tables or operating procedures.
478
+ There is no fuel consumption, EGT/CHT, detonation, feathering, reverse thrust or blade-element model.
479
+ Fixed-pitch Cessna 172S and Cherokee aircraft expose mixture without a propeller lever; the DA42
480
+ and PC-12 NGX retain automatic scheduling. Turboprops have no piston mixture. Combined condition
481
+ levers used for propeller RPM currently cover the governed range; engine cutoff remains a separate
482
+ switch. The R44's mixture affects the shared piston/rotor power model without adding a propeller control.
483
+
484
+ Per-engine `aircraftState.engines[id].combustion` reports effectiveness (0–1), and `shaftPower`
485
+ reports delivered watts. Model signals expose these as `engines.<id>.combustion` and `.shaftPowerW`;
486
+ `.mixture` and `.propeller` are commanded lever positions. The live cockpit review shows these
487
+ settings alongside RPM and shaft power so cutoff and independent engine effects are visible.
488
+
489
+ Hosts pass the camera to `visual.updateView(camera)` each frame (in the coordinates of
490
+ `visual.object.position`). The cabin, the interior's `nodes`, is drawn only within three times
491
+ the aircraft's length or span of it (at least 60 m): cockpits held most of an aircraft's draw calls
492
+ and as many again in the shadow pass, yet from farther away they are a few pixels behind the canopy.
493
+ Boarded and chase views are always near enough. Earth views and the world explorer also prepare an
494
+ aircraft's shaders before its model joins the scene.
495
+
496
+ `createAircraftVisual` exposes `cockpit`, a mesh picker and control inventory derived from the
497
+ interior's authored primary-input bindings and glTF node `extras.aircraftControl` metadata.
498
+ An `AircraftControlNode` declares a supported `action`, optional engine ID, and optional
499
+ rest-relative `motion` (`property`, `axis`, `scale`, optional `offset`). Switches and selectors animate their commands;
500
+ gear, flaps and engine RPM still follow the simulation's transit/spool response.
501
+ Separate throttle levers are associated with engine
502
+ positions from pilot-left to pilot-right; duplicated collective/thrust levers remain linked.
503
+ `bindAircraftCockpitPointer` from `@bendyline/molen-client/aircraft` binds a canvas, camera and
504
+ active pilot session. The HTML companion panel is opt-in with `companionPanel: true`, for
505
+ accessibility or older models with incomplete geometry. Call its `update()` each frame
506
+ and `dispose()` on teardown. Hosts apply changes with `applyAircraftControl`, submit the result
507
+ through `flyAircraft`, and mix `AircraftPointerAxes` with their keyboard/gamepad inputs. Session
508
+ release must clear transient axes. The binder cancels drags on exit, view change, blur and pointer
509
+ cancellation; it does not write simulation components directly.
510
+
511
+ In the engine repository, build the client and kernel, then run a local live review of all 53 bundled aircraft:
512
+
513
+ ```sh
514
+ pnpm --filter @bendyline/molen-examples-world-explorer exec vite --config ../../packages/entities/scripts/cockpit-controls-vite.mjs
515
+ ```
516
+
517
+ Open `http://127.0.0.1:4322/packages/entities/scripts/cockpit-controls.html`. The review runs the
518
+ real aircraft solver, displays commanded power beside actual RPM, and offers parked, airborne
519
+ and exterior views.
520
+
297
521
  ## Reproducible review
298
522
 
299
523
  The source brief, generator, provenance and verification notes are in the engine repository, in
@@ -307,11 +531,9 @@ power, configuration drag, stall recovery from either bank direction, coordinate
307
531
  unpowered energy loss, wind equivalence and 30/60/120 Hz consistency.
308
532
  `packages/kernel/test/aircraft-dynamics.test.ts` covers full rolls, loops and the load-factor
309
533
  limit, flight-path hold, trimmed launches, propeller swing and crosswind on the takeoff roll,
310
- and turbulence that matches across host rates and keyframes. In calm air at 1,000 m,
311
- starting at 60 m/s and using a test pilot to hold altitude for 120 seconds, the tuned Mustang
312
- reaches approximately 311 knots at full throttle, 262 knots at 65% throttle, and 203 knots with
313
- gear and flaps extended. These are simulation regression targets, not a certified performance
314
- chart or an altitude-hold feature available to the player.
534
+ and turbulence that matches across host rates and keyframes. Current fleet calibration targets
535
+ and their evidence are recorded in the performance ledger above. The test pilot's altitude
536
+ hold is a harness feature, not a player control or a certified performance chart.
315
537
 
316
538
  `packages/kernel/test/aircraft-engines.test.ts` covers symmetric two/four-engine layouts,
317
539
  mirrored engine failures, counter-rudder, thrust moment arms, independent switches/spool,