The Collider Module
Was this helpful?
Was this helpful?
All projectile abilities use a required Collider Module. This module is what allows the projectiles to generate colliders and what layers they are allowed to collide with. Users can also control which layer the projectile will be assigned, which by default is Ignore Raycast and is the recommended Projectile Layer.
Important: The Collidable Layers are important as this setting determines what layers the projectiles are allowed to collide with. Any layers not included with this Layer Mask will be ignored by the ability's projectiles. Collidable Layers should include your environment layers (walls, terrain, etc.) as well as your AI's and Player's Layers.
Important: The Collidable Layers should not included any Projectile Layers as it would allow projectiles to collide with each other. It's recommended to keep all Projectile Layers consistent (using the Ignore Raycast) to make managing this easier.