PackageBox2D.Dynamics
Classpublic class b2ContactFilter

Implement this class to provide collision filtering. In other words, you can implement this class if you want finer control over contact creation.



Public Properties
 PropertyDefined by
  b2_defaultFilter : b2ContactFilter
[static]
b2ContactFilter
Public Methods
 MethodDefined by
  
ShouldCollide(shape1:b2Shape, shape2:b2Shape):Boolean
Return true if contact calculations should be performed between these two shapes.
b2ContactFilter
Property detail
b2_defaultFilterproperty
public static var b2_defaultFilter:b2ContactFilter
Method detail
ShouldCollide()method
public function ShouldCollide(shape1:b2Shape, shape2:b2Shape):Boolean

Return true if contact calculations should be performed between these two shapes.

Parameters
shape1:b2Shape
 
shape2:b2Shape

Returns
Boolean