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
proxyAIDynamicTreeProxyThe first proxy.
proxyBIDynamicTreeProxyThe second proxy.
Returns
- bool
trueif the pair should be processed for collision;falseif it should be skipped.