Laser 2D and 3D physics engines for the Rust programming language.
Warning
AI-Modified: This file was automatically modified/adapted by AI from the original Rapier physics engine and has not been fully human-reviewed.
Note: Laser is an independent fork of the Rapier physics engine, originally created by Dimforge. It has been adapted as a standalone project.
Laser is a set of 2D and 3D physics engines for games, animation, and robotics. These crates
are laser2d, laser3d, laser2d-f64, and laser3d-f64. It is written in the Rust programming language. It is forever free and open-source!
- Read the user guides (coming soon).
- Play with the examples:
cargo run --release --bin all_examples2andcargo run --release --bin all_examples3. Their source code is available in theexamples2d/andexamples3d/directories.
SIMD-batched constraint solving and contact processing are always on. For performance-sensitive applications, also enable:
parallel— multithreading of the whole physics step (broad phase, narrow phase, solver) through rayon.
laser3d = { version = "*", features = ["parallel"] }