Appl is a physics engine powered by Rapier. It is currently 2d only.
```rust use appl::*;
fn main() { let mut appl = ApplWorld::new(Vect2 { x: 0.0, y: 9.81 }, 50.0); let ground = appl.addrigidbody( BodyType::Static, 0.3, BodyShape::Cuboid { width: 64.0, height: 32.0, }, 0.3, Vect2 { x: 0.0, y: 320.0 } ); let box1 = appl.addrigidbody( BodyType::Dynamic, 0.3, BodyShape::Cuboid { width: 32.0, height: 32.0, }, 0.3, Vect2 { x: 0.0, y: 0.0 } );
for _ in 0..200 { appl.step();
let box1_pos = appl.get_rigid_body_pos(box1);
println("{}, {}", box1_pos.x, box1_pos.y);
} } ```
This project is in progress and is in very very early stages