Rapier logo

Getting Started

Learn how to get started with Rapier

A Vue-first wrapper around Rapier — a fast, robust physics engine written in Rust. It uses the official JavaScript bindings @dimforge/rapier3d compiled to WASM, providing a declarative API for rigid bodies, colliders, and joints to add realistic physics to your TresJS scenes.

@tresjs/rapier is currently in alpha. The API is not stable yet and may introduce breaking changes between releases without a major version bump. Pin the exact version in your package.json and check the release notes before upgrading.

Next Steps

Continue your journey: