Child area 2d is forced to have the collision layer and mask of the parent?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ElLimitador

So yea, I want to make a bullet hitbox for the player that is smaller than the player itself. However, because its a child of the player’s collider, i cant make it have a different collision mask, and so if a bullet where to hit the hitbox, it hits the collider and bounces off or does not hit neither the collider or the hitbox.

:bust_in_silhouette: Reply From: Inces

You can apply individual collision masks, but You seemingly didn’t do it correctly :). Make bullets on different layer than collider, but on the same layer as hitbox. As for now, You do have different masks, but Collider protects smaller hitbox from ever reporting this collision.

:bust_in_silhouette: Reply From: ElLimitador

Im sorry, i just realized i had something with a typo in the name when checking a collision.