IT lexicon › Programming › Rapier

Rapier

Programming På svenska → Updated: 2026-10-26
More info
Creator
Sébastien Crozet (Dimforge)
Released
2020
Type
Physics engine
License
Apache 2.0
Website
rapier.rs

A 2D and 3D physics engine written in Rust that also runs in the browser through WebAssembly.

Sébastien Crozet and his company Dimforge released Rapier in 2020 as the successor to their earlier nphysics, which had turned out too slow. It has the usual parts of a physics engine — rigid bodies, colliders, joints, a broad phase and an impulse-based solver — but keeps its data in flat arrays rather than object trees.

Two things set it apart. There are ready-made JavaScript packages compiled to WebAssembly, and behind a feature flag the simulation is bit-for-bit deterministic across platforms, which makes it usable for lockstep and rollback netcode. In the Rust world it is the default choice, often through the Bevy plugin.

← Back to the lexicon