Table of Contents

Class BroadPhaseCollisionFilter

Namespace
Jitter2.SoftBodies
Assembly
Jitter2.dll

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.

public class BroadPhaseCollisionFilter : IBroadPhaseFilter
Inheritance
BroadPhaseCollisionFilter
Implements
Inherited Members

Constructors

BroadPhaseCollisionFilter(World)

Initializes a new instance of the BroadPhaseCollisionFilter class.

public BroadPhaseCollisionFilter(World world)

Parameters

world World

The world instance.

Methods

Filter(IDynamicTreeProxy, IDynamicTreeProxy)

Called for each pair of proxies whose bounding boxes overlap.

public bool Filter(IDynamicTreeProxy proxyA, IDynamicTreeProxy proxyB)

Parameters

proxyA IDynamicTreeProxy

The first proxy.

proxyB IDynamicTreeProxy

The second proxy.

Returns

bool

true to continue with narrowphase detection; false to skip this pair.