rapier_dynamics2d 0.1.0-alpha.1

2D rigid-body dynamics of rapier-cairo: bodies, colliders, narrow-phase bookkeeping, joints, contact and joint solver.

Readme

rapier_dynamics2d

2D rigid-body dynamics of rapier-cairo: bodies, colliders, narrow-phase bookkeeping, joints (fixed, revolute, prismatic, rope, spring; limits and motors), the soft-contact substep solver and sleeping.

Part of rapier-cairo, a port of the Rapier physics engine to Cairo for provable physics. Q32.32 fixed-point scalars from fixed-cairo and vectors from glam-cairo.

Most users depend on rapier2d, which re-exports what a game needs.

Stability

0.1.0-alpha.1 is an alpha: no API or numeric stability. Every alpha is validated against golden vectors recorded from rapier2d-f64 0.35.3 / parry2d-f64 0.30.2 within documented tolerance bands, and the deliberate divergences from upstream are listed in docs/adr/0001-upstream-divergences.md. From 0.1.0 on, the siblings' versioning policy applies: a numeric change is a MINOR bump, so pinning a version pins the simulation's results.

License

MIT

Metadata

Version 0.1.0-alpha.1

Uploaded 5 hours ago

License MIT

Size 142.6 KB

Installation

Run the following command in your project dir

scarb add rapier_dynamics2d@0.1.0-alpha.1

Or add the following line to your Scarb.toml

rapier_dynamics2d = "0.1.0-alpha.1"

Monthly downloads

Links

Keywords

  • physics
  • rigid-body
  • dynamics
  • 2d
  • cairo

Owners