+1 vote


So I've been having some trouble with the area2d bodyentered() and areaentered() signals in the area2d node. I've managed to find a solution but wanted to learn more about them so I have less problems in the future.

The only problem is that I cannot find any documentation for it! I've searched everywhere and the only documentation that I can find is the one explaining what the signal does in godot docs under area2d / signals.

My problem was solved when I came across this thread


It says to use the .get_name() syntax to solve the problem. My question is: Where is the documentation where I can see these methods, if there is any at all? And if there isn't, where can I learn them?

in Engine by (13 points)
edited by

1 Answer

+1 vote

You answered your own question, the Godot docs is all there is to know what these signals do: https://docs.godotengine.org/en/3.1/classes/class_area2d.html?highlight=body_entered#signals

There is a bit more about signals in general here: https://docs.godotengine.org/en/3.1/getting_started/step_by_step/signals.html?highlight=body_entered

It looks like you had a different problem with it, but I don't know how to answer you. The documentation tells you how things work and gives some examples in the tutorials, but it can't tell you how to do every possible thing. For those special cases, this Q&A website exist so you can search it or ask questions. There is also a Discord server, IRC and forum.

by (29,042 points)
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.