Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Merge main into feat/771-physics-runtime

Nguyen Xuan And1d4e7d1351f
diff --cc README.md
index da1e41f2,a6c49b51..2eb6a85d
--- a/README.md
+++ b/README.md
@@@ -139,8 -139,8 +139,9 @@@ Each addon is a separate import, so a p
| Vehicles | `67js/addons/vehicle` | [Wheeled vehicles on a path](https://67js.codepawl.com/vehicle.md) |
| Physics | `67js/addons/physics` | [Rapier contacts and joints](docs/physics.md) recorded into a timeline |
| Live games | `67js/addons/runtime` | [Game loop](docs/runtime.md) with fixed or variable steps and pluggable systems |
+ | Live games | `67js/addons/streaming` | [Streaming](docs/streaming.md): loader plugins, distance and request loading, a byte budget with LRU eviction and LOD with hysteresis |
| Live games | `67js/addons/input` | [Input](docs/input.md): keyboard, mouse, gamepad and custom sources mapped to named actions and axes |
+| Live games | `67js/addons/physics-runtime` | [Live physics](docs/physics-runtime.md): a physics world stepped in the game loop, contact and sensor events, ray, shape and overlap queries |
| Live games | `67js/addons/animation-graph` | [Animation graph](docs/animation-graph.md): states, 1D and 2D blend spaces, parameter transitions with crossfades and masked layers for any rig |
| Live games | `67js/addons/player` | [Player](docs/player.md): character controller, follow, first-person and top-down camera rigs, swappable at runtime |
| Modeling | `67js/addons/mesh`, `67js/addons/modeling`, `67js/addons/sculpt` | [Mesh editing](docs/mesh.md), [modeling](docs/modeling.md) and [sculpt brushes](https://67js.codepawl.com/sculpt.md) |
diff --cc package.json
index 6c8b7bda,9bfa7975..58c42a37
--- a/package.json
+++ b/package.json
@@@ -42,8 -42,8 +42,9 @@@
"docs/modeling.md",
"docs/physics.md",
"docs/runtime.md",
+ "docs/streaming.md",
"docs/input.md",
+ "docs/physics-runtime.md",
"docs/animation-graph.md",
"docs/player.md",
"docs/scene-query.md",
@@@ -122,8 -123,8 +124,9 @@@
"./addons/texture-update": "./build/texture-update.js",
"./addons/cloth": "./build/cloth.js",
"./addons/runtime": "./build/runtime.js",
+ "./addons/streaming": "./build/streaming.js",
"./addons/input": "./build/input.js",
+ "./addons/physics-runtime": "./build/physics-runtime.js",
"./addons/animation-graph": "./build/animation-graph.js",
"./addons/player": "./build/player.js",
"./addons/update-part-vertices": "./build/update-part-vertices.js",
diff --cc scripts/prepare-release.mjs
index 871cfc2a,2328c902..5b796b64
--- a/scripts/prepare-release.mjs
+++ b/scripts/prepare-release.mjs
@@@ -53,7 -53,7 +53,7 @@@ const sourceDocuments =
'vehicle.md',
'vegetation.md', 'terrain.md', 'grass.md', 'clutter.md', 'light-bake.md', 'path-tracer.md', 'gaussian-splats.md',
'camera-path.md', 'lighting.md', 'volumetric.md', 'film-physics.md',
- 'runtime.md', 'input.md', 'physics-runtime.md', 'player.md', 'animation-graph.md', 'surface-attachment.md', 'agent-scene.md', 'mcp.md', 'agent-look.md', 'agent-asset.md', 'agent-render-jobs.md', 'agent-motion.md', 'agent-character-motion.md', 'agent-review.md',
- 'runtime.md', 'streaming.md', 'input.md', 'player.md', 'animation-graph.md', 'surface-attachment.md', 'agent-scene.md', 'mcp.md', 'agent-look.md', 'agent-asset.md', 'agent-render-jobs.md', 'agent-motion.md', 'agent-character-motion.md', 'agent-review.md',
++ 'runtime.md', 'streaming.md', 'input.md', 'physics-runtime.md', 'player.md', 'animation-graph.md', 'surface-attachment.md', 'agent-scene.md', 'mcp.md', 'agent-look.md', 'agent-asset.md', 'agent-render-jobs.md', 'agent-motion.md', 'agent-character-motion.md', 'agent-review.md',
];
for (const name of sourceDocuments) {
await copyFile(resolve(root, 'docs', name), resolve(root, 'public', name));
diff --cc vite.lib.config.js
index 32dd1406,9cb64faa..4b6dca7e
--- a/vite.lib.config.js
+++ b/vite.lib.config.js
@@@ -107,9 -108,9 +108,10 @@@ export default defineConfig(
cloth: 'src/cloth.js',
runtime: 'src/runtime.js',
input: 'src/input.js',
+ 'physics-runtime': 'src/physics-runtime.js',
'animation-graph': 'src/animation-graph.js',
player: 'src/player.js',
+ streaming: 'src/streaming.js',
'update-part-vertices':'src/update-part-vertices.js',
'replace-textured-parts': 'src/replace-textured-parts.js',
// Page of the MCP preview. It imports the engine chunks above instead of bundling its own copy.