Repository navigation
Conversation
Library - Wrap meshes, heightfields, hulls, compounds and builders, multi-hit casts/overlaps, character-mover planes, contacts and sensor overlaps, JS callbacks, debug draw, standalone collision/distance/TOI, and many scalar accessors. 478 of 577 upstream functions wrapped, 99 skipped with a documented reason. - Per-world event buffers, O(1) body destroy, double-free guard, input validation, allocation-free hot paths and bulk TransformBatch. - Pass unit quaternions through unchanged so results are bit-identical to native Box3D (ragdoll determinism golden matches). Drift guard - parity/manifest.json plus test/parity.test.ts fail on any unclassified upstream function, def field, enum, struct or constant change. - Weekly upstream-drift workflow and .claude/skills/update-box3d. Demo - Sample framework (registry, picker, debug draw, mouse-joint, shooting, solver panel, diagnostics) and 151 of 154 upstream samples ported.
import.meta.env was read through an alias, so vite never substituted it and the OBJ/tree fetches went to /meshes instead of /box3d-wasm/meshes (404 in dev and on Pages). Found by loading every sample in Chrome. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The root vitest typecheck includes docs/src, which has no vite/client types. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
B3_APIfunctions wrapped (meshes, heightfields, hulls, compounds, multi-hit queries, mover, contacts/sensors, JS callbacks, debug draw, standalone collision, accessors); 99 skipped with written reasons.parity/manifest.json+test/parity.test.tsfail on unclassified upstream functions, def fields, enums, structs or constants; weeklyupstream-driftworkflow;.claude/skills/update-box3d.TransformBatch, opt-in LTO. Unit quaternions pass through unchanged, so the ragdoll determinism golden (step 274,0x773AB8ED) matches native.Known gaps
TODO(api)in code).Test plan
pnpm build && pnpm test(893 passed, 9 skipped),pnpm lint,pnpm typecheck,pnpm parity:strict🤖 Generated with Claude Code