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