Table of Contents

Namespace Jitter2.SoftBodies

Classes

BroadPhaseCollisionFilter

A broad-phase filter that handles collisions involving soft body shapes. It delegates collision detection to the narrow phase and registers contacts with the closest rigid body vertices of the soft body.

DynamicTreeCollisionFilter

Provides a collision filter that prevents self-collisions within soft bodies and shapes attached to the same rigid body.

SoftBody

Represents a soft body in the physics simulation. A soft body is composed of vertices (rigid bodies), springs (constraints), and shapes.

SoftBodyShape

Abstract base class for shapes used in soft body simulations.

SoftBodyTetrahedron

Represents a tetrahedral shape in a soft body simulation.

SoftBodyTriangle

Represents a triangular shape in a soft body simulation.

SpringConstraint

Constrains two bodies to maintain a target distance between anchor points, applying spring-like forces. Removes one translational degree of freedom along the line connecting the anchors.

Structs

SpringConstraint.SpringData

Low-level data for the spring constraint, stored in unmanaged memory.