Why my Collision Don't Work?

Hi! I need Help to make my collision works well… But I can’t understand this… I created a CharacterBody2D that have a collision, and it respects full the Layer and Masks other Nodes/Objects

image
image

It don’t pass the box (a static body)…
But the problem is in my Sword (PhysicalBone2D fully configured (with Modifications as Docs guides to do)).

Player Structure:
image

Player Collision Layer and Mask:
image
1 = Player
2 = World (Floor)
4 = Box (Static Body 2d)

Sword
image
4 = Only Box

I’ve already tried selecting all the layers and masks, I’ve tried placing the box to find the sword, I’ve tried using another method without PhysicalBone2D (RemoteTransform2D).

Please Help Me.

Thx in Advanced!

I think you also need to give your sword a collision layer. What are the layers that the box has?

I don’t know why, but I solved my problem changed the box type from StaticBody2D to RigidBody2D.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.