Skip to content

Rapier Physics with Units of Measurement 📏 leveraging the Rust type system for SI units for Rust game dev physical properties ⏲️.

License

Notifications You must be signed in to change notification settings

rodneylab/rapier-units-of-measurement

Rodney Lab Rapier example Git Hub banner

Rodney Lab logo

Rapier Units of Measurement

rapier-units-of-measurement

Demo for using the Rust uom crate for SI physical units in a Macroquad game with Rapier physics. This code accompanies the blog post on using Rapier with Units of Measurement. If you have any questions, please drop a comment at the bottom of that page.

Usage

Terminal animation shows the user entering the following command: cargo run --example hello_world. Then the code compiles and outputs a stream on Ball altitude values, which stabilise at -14.761

Clone the repo then run:

cargo run

☎️ Issues

Feel free to jump into the Rodney Lab matrix chat room.

About

Rapier Physics with Units of Measurement 📏 leveraging the Rust type system for SI units for Rust game dev physical properties ⏲️.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages