ContactFilter class

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

Constructors

ContactFilter()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
shouldCollide(Fixture fixtureA, Fixture fixtureB) bool
Return true if contact calculations should be performed between these two shapes. @warning for performance reasons this is only called when the AABBs begin to overlap.
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited