|Topic was automatically imported from the old Question2Answer platform.
I have a sprite, collisionshape2D and an animation player. The purpose is: The sprite enters an Area2D and collision triggers inside the Area2D once.
I changed the shape of the collisionshape2D during my animation so that it follows the sprite animation. However, during the collision, the collision registers each time the sprite animation changes. This makes an unnecessary repetition of collisions. How do I put a delay in my Collisionshape2D after each hit so that it only registers once in certain amount of time?
I’ve tried using the timer node, but it does not work.
Thanks in advance.