Documentation for body_entered?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By HootHoot

Hello!

So I’ve been having some trouble with the area2d body_entered() and area_entered() 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?

:bust_in_silhouette: Reply From: Zylann

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: Signals — Godot Engine (3.1) documentation in English

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.