Table of Contents

Class DynamicTreeCollisionFilter

Namespace
Jitter2.SoftBodies
Assembly
Jitter2.dll

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

public static class DynamicTreeCollisionFilter
Inheritance
DynamicTreeCollisionFilter
Inherited Members

Methods

Filter(IDynamicTreeProxy, IDynamicTreeProxy)

Filters collision pairs to exclude self-collisions.

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.