Topic was automatically imported from the old Question2Answer platform.
Asked By
Giannis1996
I tried to make a script that detects the collided object groups and then if the collided object is in the Wall group it’s queue_free() but i wasn’t success on that
I also tried to make it in visual script but that’s another story
my GDscript function is:
func _on_Area_body_entered(body):
if is_in_group("Wall"):
queue_free()