collisionType property
Whether the hitbox should:
- CollisionType.active - actively collide with other hitboxes.
- CollisionType.passive - passively collide with other hitboxes (only collide with hitboxes that are active, but not other passive ones).
- CollisionType.inactive - not collide with any other hitboxes.
Implementation
@override
CollisionType collisionType = CollisionType.active;