C# Class Box2D.Callbacks.ContactFilter

Implement this class to provide collision filtering. In other words, you can implement this class if you want finer control over contact creation.
ファイルを表示 Open project: gerich-home/box2dnet Class Usage Examples

Public Methods

Method Description
ShouldCollide ( Fixture fixtureA, Fixture fixtureB ) : bool

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

Method Details

ShouldCollide() public method

Return true if contact calculations should be performed between these two shapes.
public ShouldCollide ( Fixture fixtureA, Fixture fixtureB ) : bool
fixtureA Box2D.Dynamics.Fixture
fixtureB Box2D.Dynamics.Fixture
return bool