Skip to content
InterfaceTypes & Utilities@public

FlxPhysicsFilter ​

Collision filtering shared by bodies, shapes, contacts, and queries.

ts
export interface FlxPhysicsFilter

Properties ​

PropertyModifiersTypeDescription
categoryreadonlynumberCategory bits owned by this fixture. Defaults to 1.
groupreadonlynumberOptional solver collision group. Defaults to 0.
maskreadonlynumberCategory bits this fixture accepts. Defaults to all 16 bits.

Released under the MIT License.