Skip to content

Repository files navigation

Laser


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.

What is Laser?

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!

Getting started

  1. Read the user guides (coming soon).
  2. Play with the examples: cargo run --release --bin all_examples2 and cargo run --release --bin all_examples3. Their source code is available in the examples2d/ and examples3d/ directories.

Performance

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"] }

About

2D and 3D physics engines focused on performance.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages