On Body Entered issue

Godot Version

Godot Engine v4.5.1 stable official

Question

In a RigidBody2D the event Body Entered is not being triggered when a CharacterBody2D collides with it. It does get triggered when another RigidBody2D collides. This used to work in V3 but I can’t get it to work in V4. I’ve switched to using the result from move_and_collide which does work.

I’ve put the code here: GitHub - imekon/body-stuff: Collison stuff in Godot V4

Enable contact_monitor and make max_contacts_reported greater than zero.

I did on the RigidBody2D - that made the event trigger whenever another RigidBody2D collided but not the CharacterBody2D - which doesn’t seem to have those parameters.

Those needs to be enabled on the body that emits the signal. Make sure your collision layers/masks are set up properly.