0 votes

I have a problem in detecting collisions in my game.
The game has an Enemy scene (kinematicbody2d) that has a function for creating collisionshape2d and assigning rectangle shape to it. I am using this function inside a Spawner scene to define multiple enemies with different properties as enemy texture (black, red, ....), collision shape extents, power, speed, .... etc.
What happens is when the bullet from the player misses the first enemy (eg. black one), the following black enemies can't be killed (queue free from scene).
Any help?

in Engine by (14 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.