rodneylab / rapier-units-of-measurement

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 ⏲️.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Rust 100.0%