# dimforge/nphysics

2 and 3-dimensional rigid body physics engine for Rust.

Repository: https://github.com/dimforge/nphysics
Canonical: https://ross.abutalabs.com/products/nphysics
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: physics-engine, physics, rigid-bodies, joints
Last push: 2021-07-27T08:26:13+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4859, "days_push": 1863, "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 1648, forks 120 (observed 2026-08-28T04:05:16.640121+00:00)

## What it is
nphysics is a 2D and 3D rigid body physics engine for games and animations written in Rust, using ncollide for collision detection and nalgebra for math. It is now passively maintained and superseded by the Rapier project.

## Use cases
- simulate rigid body physics in a rust game
- 2d physics engine for rust
- 3d physics simulation in rust
- physics engine with joints and multibodies
- wasm physics simulation in the browser

## When to choose
- you need a pure-Rust physics engine for a legacy project already using ncollide/nalgebra
- you want shared 2D/3D physics code in Rust

## When to avoid
- starting a new project - use Rapier instead
- you need actively maintained physics features or bug fixes

## Facets
- artifact type: library
- maturity: maintenance
- function: simulation, game-engine, graphics
- domain: simulation, graphics
- platform: rust, cross-platform, wasm
- tags: physics-engine, rigid-body-dynamics, collision-detection, joints, 2d, 3d, superseded-by-rapier, game-development

## Member repositories
- dimforge/nphysics (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:16.640121+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-30T03:45:12.729296+00:00, confidence not recorded.
  - readme: https://github.com/dimforge/nphysics (fetched 2026-08-28T04:05:16.640121+00:00, sha 67ce5a1f37c8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
