This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes


I have the following setup in my project. A Tilemap built in tiled and importet into godot.
A RigidBody2D Object that crashes into the tiles marked with a collision area. The tiles with collison enabled should be a StaticBody2D
The colission works and I can see the Object colliding with the tile. But how can I get a callback that this happens?

I tried connecting to "body_entered" of the RigidBody2D but thit is never called.

I experimented with Area2D nodes and CollisionShape2D. Connecting to "area_entered" did fire a callback. But I still need to know when my objectrs hits a wall.
What am I missing?

in Engine by (15 points)

1 Answer

+1 vote
Best answer

A RigidBody2D will emit the body_entered signal only if the "Contact Monitor" and "Contacts Reported" properties are set. Try setting them to On and 1 respectively.

You can see an example here:

by (22,191 points)
selected by

Thank you. That was the setting I had overlooked. Thank you.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.