dynamis-model 0.5.0

GPU-driven physics engine
Documentation
//! Simulation vocabulary: shapes, descriptions, handles and configuration,
//! independent of any GPU.

mod body;
mod collider;
mod config;
mod constraint;
mod event;
mod mass;
mod query;
mod shape;

pub use body::{BodyDesc, BodyHandle, BodyState, MAX_COLLIDERS_PER_BODY};
pub use collider::{ColliderDesc, ContactEventMode};
pub use config::{MaterialCombine, PhysicsConfig};
pub use constraint::{
    ConstraintBreak, ConstraintDesc, ConstraintHandle, ConstraintKind, ConstraintLimit,
    ConstraintMotor, ConstraintSpring, ConstraintSwing, DofDesc,
};
pub use event::{ContactEvent, ContactEventKind};
pub use mass::{
    MassProperties, MassSource, compute_mass_properties, shape_volume, solid_volume_of,
};
pub use query::QueryFilter;
pub use shape::{Shape, ShapeSourceHandle};