4.3
I have a rigidbody2d with collision layer 3, and it’s attached to some other rigidbodies which have collision layer 1, but I don’t think that’s relevant to the problem.
The ground is set to collision layer 1 and 3, but the rigidbody2d with collision layer 3 won’t collide with it.
If I set the collision layer of the rigidbody2d to just layer 1, it will collide with the other rigidbodies in scene, but not the ground.
I have no idea why this is happening, thank you for looking and please help 
Layer is what its on, mask is what it collides with
what mask does each thing have?
1 Like
I never even messed with the masks so I think they’re all set to 1
that would be the issue. set up the masks so they collide with the correct things
1 Like
I set the ground collision layer to 1 and mask to 3, nothing different happened
can we see the mask and layers?
1 Like
set the grounds mask to the players layer and the players mask to the grounds layer. that should work
Give me exact example numbers please.
For Rigidbody2D:
For Ground:
For the ground set its layer to 1 and mask to 3
for the rigidbody set its layer to 3 and mask to 1
Still doesn’t work. Same results
can you send a picture of how you set it up?
also what node is your ground
1 Like
could we have a screen shot of the layers and mask?
2 Likes
both have collision shapes?
Yeah I would get an error message if they didn’t
Collisionpolygon for rigid and collision shape for static
can you turn on
I think your collision shape aren’t the right size
you might of scaled your mesh but not the collision shape, giving a false idea of its size, I have made this mistake in the past
It still collides with things if I set the collision layer to 1