# CharacterBody colliding with things not in it's collision layer

how are you moving the rigidbody?

I use rotation, it’s attached to another rigidbody, which is pinjointed to another rigidbody (ragdoll stuff) And I want it to rotate with the right stick.

so to recap the collision layer and mask should be fine, the rigid body movement should be fine the collision object is fine, so I am not sure what wrong.
Idk I’ll try an explain layers

layers say I exist

mask listen to its layer number mask 1 can only see layer 1

lets say the ground is layer 1 mask 2 and a ball is layer 3 and mask 1

the ground can’t see ball on layer 3 because is has mask 2 but the ball can see the ground on layer 1 because the ball is on mask 1
this mean the ball collide with ground but ground technically doesn’t collide with the ball
so in the end it look like the ball are interacting normally
I hope this made some sense

Idk, it just doesn’t seem to work

1 Like

I tried adding move and collide to the script, because once I had the rigidbody as a characterbody, and when I had move and slide, it collided with the ground iirc, but when I tried to add move and collide it says this:

I don’t think it needs that, and honestly I am just as confused as you are right now

1 Like

Do you know why the error is popping up now though?

1st move and collide wants 4 things 2nd move and collide appears two belong physicbody3d, not 2d

1 Like

Sorry, what does that mean?

I set the rigidbody layer to 1 and it would not even collide with the ground, just the other rigidbodies that came from it’s scene. I think this might be related to an issue I’m also having where the area2d won’t seem to detect the ground. This might be a problem with things not detecting things that come from other scenes. But it still doesn’t make sense that the rest of the rigidbodies collide perfectly fine with the ground if that is true.

Could you share your scene tree? Sounds like there is a lot more at play

1 Like

And your ground? I feel that must be where your issues arise if everything else is colliding fine.

1 Like