pite-physics 0.3.0

2D physics simulation, kinematic character controller, and collision queries for Pite.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: MIT OR Apache-2.0
//! `pite-physics`: 2D physics simulation, kinematic character controller,
//! collision shapes, and queries powered by pure-Rust `rapier2d`.

pub mod body;
pub mod character;
pub mod query;
pub mod shape;
pub mod world;

pub use body::BodyKind;
pub use character::CharacterMoveResult;
pub use query::RaycastHit;
pub use shape::ShapeConfig;
pub use world::{PhysicsEvent, PhysicsWorld};