Skip to main content

Crate phyz_contact

Crate phyz_contact 

Source
Expand description

Contact dynamics and soft contact resolution for phyz physics engine.

Implements MuJoCo-style soft contacts using penalty forces.

Re-exports§

pub use material::ContactMaterial;
pub use solver::contact_forces;
pub use solver::find_contacts;
pub use solver::find_ground_contacts;

Modules§

material
Contact material properties.
solver
Contact detection and force computation.

Functions§

compute_contact_force
Compute contact force for a single collision.