Im trying to make object that shoots objects and when it hits a player object, it should disappear.
I want to make the bullet disappear when ever it hits something, but the problem is, if i make it to recognise Area2D and disappear, it works, but at the same time, it doesnt do that for collisionshape2d.. and when i add: ifiscolliding():queuefree() .... but then, Area2D doesnt get signal (and i got attached code for area2d, that when obj enters area, subtract HP..) also, if i use enterbody signal, instead of enterarea, the bullet obj disappears when created. (im also using separate scenes in one scene.)
So, how you can add exception for self in areabody or maybe you have an easy project that has simple shooting, receiving damage project to share..?
I hope you understand what i meant,lol