Search Three3D

Rapier

Simulate rigid bodies, collisions, and joints in browser-based 3D applications.

Pricing
Free · Open source
License
Apache-2.0
Formats / platform
JavaScript, TypeScript, WebAssembly, Web
Topics
Three.js

Overview

Rapier exposes a Rust physics engine to JavaScript through WebAssembly. Keep physics shapes separate from rendered meshes and copy simulated transforms to your Three.js objects after each physics step.

Best for

Key features & formats

How to use & license notes

Follow the 3D JavaScript getting-started guide and test a single dynamic body above a fixed collider. Use consistent scale and a controlled physics timestep before adding more detailed meshes.