Help!mask was not set,but it still triggers the character’s _on_body_entered function?

Godot Version



I have a character in Godot, which is a RigidBody2D. I set its mask to none, but when it touches other rigid bodies that can detect the character, it still triggers the character’s _on_body_entered function. Why is that?

There is a collision mask and layer I think you should try unselecting both.

Also is contact monitoring on?

Thanks, I found that collision detection is bidirectional, as long as one of the two physics nodes cares about each other’s collision layers, then they will trigger the _on_body_entered