Area3D - body_entered - not signalled

Godot Version

4.4

Question

I am new to the Godot engine and I am following the tutorial to get started. The point where I cannot find the mistake is here:

I added the MobDetector as described, but it never gets signalled. So I tried to make the collision cylinder really large to check if it gets signalled sometime, but still not. I also compared to the example code from github, but did not find my mistake.

I uploaded the ZIP of my tutorial code here: Download godot_squashTheCreeps_body_entered_issue.zip | LimeWire

I found my mistake after eating lunch: I forgot the argument in the callback function. So the function was not called as intendend.
Sometimes a little distance can help :slight_smile:

What I am still wondering is, why the code still was somewhat working and no warning or error was given by the MSBuild process. I did not find a github issue for this.

1 Like

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