Hi, I am trying to make water on Godot. For that, I have an Area2D with a CollisionShape2D to detect what bodies are entering the area. Since it's water, I want the shape of that CollisionShape2D to change, so I tried to use a ConvexPolygoneShape2D in the CollisionShape2D and change its points and I also tried to use a CollisionPolygon2D instead of the CollisionShape2D. But everytime the Area2D used the first collisions, it doesn't matter if I change or erase them, the area will always use its first collisions.
Is there a way to change the collision of an Area2D in the middle of the game?
Maybe the Area2D sticks to its initial collisions and there is another tool to check bodies entering a certain area with changing shape.