Skip to main content

Module types

Module types 

Source

Structs§

Contact
Material
RigidBody

Enums§

BodyType
Constraint
Shape

Functions§

compute_mass_and_inertia
Compute inverse mass, inertia, and inverse inertia for a shape. Static bodies get inv_mass=0 and inv_inertia=0.
get_shape_aabb
Get the axis-aligned bounding box for a body, accounting for position.

Type Aliases§

BodyId
ConstraintId