4.3
I’m trying to make this area when touching this bullet queue free, but it won’t work. How can I make this work?
func _on_area_entered(area):
if class_name == Bullet:
queue_free()
4.3
I’m trying to make this area when touching this bullet queue free, but it won’t work. How can I make this work?
func _on_area_entered(area):
if class_name == Bullet:
queue_free()
func _on_area_entered(area):
if area is Bullet:
area.queue_free()
queue_free()
thanks!
if it solved please mark so