On_body_entered does not trigger

Godot Version

4.3

Question

I have 2 rigid body. Their layers and masks are the same and in screen i can see they are colliding and acting according to it. However in code on_body_entered function does not trigger. I tried to set the signal from both inspector and code but nor of them worked. What might be the reason?

Make sure in the inspector, you have “Contact Monitor” enabled, and max contacts reported should be 1 or more.

image

2 Likes

Thank you so much. It fixed the problem.

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