collisionLayer property
Bitmask identifying this collider's layer. A contact is generated only when each side's collisionLayer is set in the other side's collisionMask.
Implementation
@override
int get collisionLayer => _collisionLayer;
Bitmask identifying this collider's layer. A contact is generated only when each side's collisionLayer is set in the other side's collisionMask.
@override
int get collisionLayer => _collisionLayer;