Table of Contents

Class DynamicTreeCollisionFilter

Namespace
Jitter2.SoftBodies
Assembly
Jitter2.dll

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.

public static class DynamicTreeCollisionFilter
Inheritance
DynamicTreeCollisionFilter
Inherited Members

Methods

Filter(IDynamicTreeProxy, IDynamicTreeProxy)

Filters matching soft-body and rigid-body shape pairs that share an owner.

public static bool Filter(IDynamicTreeProxy proxyA, IDynamicTreeProxy proxyB)

Parameters

proxyA IDynamicTreeProxy

The first proxy.

proxyB IDynamicTreeProxy

The second proxy.

Returns

bool

true if the pair should be processed for collision; false if it should be skipped.