|Topic was automatically imported from the old Question2Answer platform.
I have been trying to detect if an Area2d is overlapping a rigidbody2d, but it keeps popping up error messages. Could someone please give me an example to set me in the right direction?
Have you looked for tutorials on node signals?
Magso | 2019-09-13 12:53
It isn’t a signal, it’s a bool
a human | 2019-09-17 02:35
Usually detecting an overlap is done by connecting the area’s
body_entered signal. There is also the get_colliding_bodies() method on the Rigidbody, make sure contact monitor is true and contact reporter is at least 1.
Magso | 2019-09-17 13:02