# Rapier

2D and 3D physics engines focused on performance.

Repository: https://github.com/dimforge/rapier
Canonical: https://ross.abutalabs.com/products/rapier
Homepage: https://rapier.rs
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-08-16T20:23:45+00:00
Link (homepage): https://rapier.rs
Link (site_page): https://rapier.rs/docs

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 2199, "days_push": 17, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5683, forks 382 (observed 2026-08-28T04:09:27.869023+00:00)

## What it is
Rapier is a set of high-performance 2D and 3D physics engines written in Rust, providing rigid-body dynamics, joint constraints, collision detection, and scene queries. It supports SIMD and multithreaded parallelism, cross-platform determinism, and runs natively or in the browser via WebAssembly with official JavaScript and Python bindings.

## Use cases
- add real-time physics to a Rust game
- simulate ragdolls, vehicles, or robots with joint constraints
- run physics simulations in the browser via WebAssembly
- ray-casting and sweep-test scene queries
- deterministic cross-platform physics for replays or lockstep networking
- physics simulation for robotics or animation

## When to choose
- you need a fast, open-source physics engine in Rust
- you want official WebAssembly/JavaScript support for web games
- you need cross-platform deterministic physics
- you use Bevy and want the bevy_rapier integration

## When to avoid
- you need a full game engine rather than a physics library
- your project is in a language other than Rust, JavaScript, or Python
- you need soft-body or fluid simulation out of the box

## Facets
- artifact type: library
- maturity: stable
- function: simulation, game-engine, graphics
- domain: simulation, robotics, graphics
- platform: rust, wasm, cross-platform, browser, python
- tags: physics-engine, rigid-body-dynamics, collision-detection, simd, wasm, bevy-integration, deterministic-simulation, game-development

## Member repositories
- dimforge/rapier (main) score 76
- dimforge/bevy_rapier (plugin) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:27.869023+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:54:14.640774+00:00, confidence not recorded.
  - readme: https://github.com/dimforge/rapier (fetched 2026-08-28T04:09:27.869023+00:00, sha 7a26f4d6bc8b)
  - homepage: https://rapier.rs (fetched 2026-08-29T08:49:18.272508+00:00, sha 922108b5e630)
  - site_page: https://rapier.rs/docs (fetched 2026-08-29T08:49:18.281150+00:00, sha 90be3a901d16)
- Data as of 2026-08-30T08:39:29.467469+00:00.
