Files
shinyobjectz 2881f190bb Docs: a page for every CLI verb and every SDK import path on raea.io/docs
The CLI reference is now 43 pages, one a verb, each with its forms, where it runs and what each of its 164 flags does,
under docs/manual/reference/cli. The forms and flags are generated from `raea help --json`; the prose and the flag
descriptions are written by hand, kept by the generator, and checked: a new flag without a description fails.

The SDK reference is 28 pages, one an import path, under docs/manual/reference/sdk: every export with its doc, its
signature, a component's props, a class's members, its Bevy type and the parity ports and examples that use it,
generated by the TypeScript compiler, with a hand-written introduction and a type-checked example on each page.
Where the SDK mirrors a Bevy type without a comment of its own, Bevy's own doc is shown, marked as Bevy's
(tools/manual-ref/bevy-docs.json). Doc comments added to the SDK exports that had none.

tools/manual-ref.sh gen|check runs both generators.
2026-11-08 19:43:15 -08:00

1.2 KiB

title, summary, order, sources
title summary order sources
raea physics Make the bakes <Physics> and <Goo> play: rigid bodies, soft goo, and parts cut out of a .glb. 103
runtime/react/src/scene/physics.rs
systems/bake/src

A <Physics> or <Goo> in a composition plays a bake: the simulation run once ahead of time, so every render of it is the same. A render makes the bakes it needs on its own; raea physics makes one by hand from its request, in the composition's asset store. part cuts named nodes out of a .glb so each can be its own body.

raea physics bake request.json -o bake.json
raea physics goo spec.json
raea physics part media/kit.glb Wheel_L Wheel_R

Usage

raea physics bake REQUEST.json [-o OUT.json] | physics goo SPEC.json | physics part SRC.glb NODE...

Headless: it needs nothing running and opens no window. Its arguments go to a parser of its own, whose forms are listed above.

Flags

Flag Takes What it does
-o OUT.json Also write the result to this file, in place of printing it.

See also

  • 3D shows physics in a scene.