This folder exists to prove examples used in the documentation compile.
By running ./generate_user_guide.sh at the root path, These examples are copied and injected within a new folder containing the whole documentation pages.
The produced binary might or might not produce something useful, it's
intended usage is to run cargo check --workspace --examples.
The bevy snippets (2d/bevy, 3d/bevy) are standalone workspaces building against the in-tree bevy_rapier
(bindings/bevy_rapier). Check them with cargo check --examples from their own folders.
The snippets build against the bindings of this repository, not the ones published on
npm, so a snippet may use an API before it is released. @dimforge/rapier{2,3}d is a file:
dependency on bindings/typescript/builds/rapier{2,3}d/pkg, which is generated; build it once (per
dimension) before installing:
cd bindings/typescript
npm ci
cargo run -p prepare_builds -- -d dim2 -f non-deterministic
cd builds/rapier2d && npm i && npm run build:wasm && npm run build:tsThen, within the javascript folder, run npm ci and npm run build.