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 rejects pairs of soft-body shapes belonging to the same soft body and pairs of rigid-body shapes attached to the same rigid body. Mixed pairs pass.

SoftBody

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

SoftBodySegment

A capsule-shaped collision segment spanning two soft-body vertices. Chains of segments can be used to build ropes and cables.

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

Applies a spring force between two anchors to maintain a target distance.

Structs

SpringConstraint.SpringData

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