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 Ancebfa04edcd2
diff --cc README.md
index 2eb6a85d,0ad929fb..e72da8d5
--- a/README.md
+++ b/README.md
@@@ -141,7 -141,7 +141,8 @@@ Each addon is a separate import, so a p
| 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/audio` | [Spatial audio](docs/audio.md): sounds on nodes, played from contacts, markers and input, with buses and a limiter |
| 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 58c42a37,52e39a51..bb4ef54d
--- a/package.json
+++ b/package.json
@@@ -44,7 -44,7 +44,8 @@@
"docs/runtime.md",
"docs/streaming.md",
"docs/input.md",
+ "docs/physics-runtime.md",
+ "docs/audio.md",
"docs/animation-graph.md",
"docs/player.md",
"docs/scene-query.md",
@@@ -126,7 -126,7 +127,8 @@@
"./addons/runtime": "./build/runtime.js",
"./addons/streaming": "./build/streaming.js",
"./addons/input": "./build/input.js",
+ "./addons/physics-runtime": "./build/physics-runtime.js",
+ "./addons/audio": "./build/audio.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 5b796b64,5b0c8991..aac24ebf
--- 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', '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',
- 'runtime.md', 'streaming.md', 'input.md', 'player.md', 'audio.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', 'audio.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 src/docs-live.js
index 0684a4ca,52117612..d9ce930e
--- a/src/docs-live.js
+++ b/src/docs-live.js
@@@ -64,7 -64,7 +64,8 @@@ const addonLoaders = import.meta.glob(
'./cloth.js',
'./runtime.js',
'./input.js',
+ './physics-runtime.js',
+ './audio.js',
'./player.js',
'./update-part-vertices.js',
]);
diff --cc vite.lib.config.js
index 4b6dca7e,c94f7bd3..decd2d7e
--- a/vite.lib.config.js
+++ b/vite.lib.config.js
@@@ -108,7 -108,7 +108,8 @@@ export default defineConfig(
cloth: 'src/cloth.js',
runtime: 'src/runtime.js',
input: 'src/input.js',
+ 'physics-runtime': 'src/physics-runtime.js',
+ audio: 'src/audio.js',
'animation-graph': 'src/animation-graph.js',
player: 'src/player.js',
streaming: 'src/streaming.js',