- Edited
I have a bullet (area2D) with a body entered signal and the body it is colliding with is a kinematicbody2D in a group called 'Shootable'. Naturally, they both have collision shapes and the Area2D has monitoring on, but it doesn't seem to be working and I'm all out of ideas. Would appreciate any help at all :)
extends Area2D
var speed = 450
func _physics_process(delta):
position += transform.x * speed * delta
func _on_Semi_Auto_Bullet_body_entered(body):
if body.is_in_group("Shootable"):
body.queue_free()
queue_free()
pass