Module rhusics::physics [] [src]

Physics related functionality

Modules

prelude2d

2D structures for physics

prelude3d

3D structures for physics

simple

Simple force integration and impulse solver

Structs

ForceAccumulator

Force accumulator for a rigid body.

Mass

Mass

Material

Physics material

ResolveData

Data used for contact resolution

RigidBody

Rigid body

Velocity

Velocity

Traits

ApplyAngular

Apply an angular velocity to a rotational quantity

Inertia

Moment of inertia, used for abstracting over 2D/3D inertia tensors

PartialCrossProduct

Cross product abstraction

Volume

Describe a shape with volume

Functions

resolve_contact

Perform contact resolution.