0 votes

Hi, im new to Godot and the programming. Im following along with a great tutorial, but heres the issue. Im basically disabling a Collisionshape2D and enables it through an animation, it is supposed to be an attack which destroys stuff. The code works, but when i start the debug/test, i have to attack once for it to start working. I've tested to disable the collisionshape in its own scene, basically everywhere that i can find it. I scrapped the animations just to see if it will work. But it is checked on disable and when i enter the scene the collisionshape is still enabled. Is there something im missing?

Godot version 3.4
in Engine by (12 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 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 webmaster@godotengine.org with your username.