An open API service indexing awesome lists of open source software.

https://github.com/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 ⏲️.
https://github.com/rodneylab/rapier-units-of-measurement

gamedev macroquad rapier rust rust-gamedev uom

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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:

```shell
cargo run
```

## ☎️ Issues

Feel free to jump into the
[Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).