Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Ariel Gimenez |
Hi, someone knows how to take the colliding node with a raycast, in GDscript it works like this.
var n =$RayCast2D.get_collider()
if n.is_in_group("group_name"):
print("it's in the group!")
But in c # it doesn’t work or I can’t find the way to do it