+1 vote

I've been trying to animate the CollisionPolygon2D of my character with the AnimationPlayer so that the collision fit better the sprite.

But as I have a Archer character and a Bat character, If an Archer targets the Bat by a bodyentered signal if variables of the polygon changes, it trigger the bodyexited signal of the Archer.

Trigger

Trigger again...

I wanted to know what should I do so that the exit signal does not trigger when the CollisionPolygon2D just gets animated.

in Engine by (13 points)

Did you find a solution? I have this problem too, where editing the area's collision polygon's points fires the area exited signal.

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.