+1 vote

Hello!

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

https://gyazo.com/888405ddc47883218960f48dea234782

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?

asked Sep 2, 2019 in Engine by HootHoot (13 points)
edited Sep 2, 2019 by Zylann

1 Answer

0 votes

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.

answered Sep 2, 2019 by Zylann (26,149 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 How to use this Q&A? before posting your first questions.