So basically I have two nodes: an Enemy node and a Player node.
The Enemy node has a collision shape, and the Player node has a collision shape for the body, as well as a collision shape for the attack.
What is currently happening is that when I enable the attack collision shapes, the collision resolutions acts as if the attack collision shape is part of the entire Player body, and when the Player approaches a solid object, instead of stopping where the Player body collision box is, it stops where the attack collision box is. But I need the attack collision box to detect when an enemy has been hit. So my question is, how do I make the game ignore the attack collision box when colliding with solid objects, but not ignore it when an enemy is being attacked.