Invisible colliders after moving object

Godot Version

4.3

Question

I am detecting collisions between two CollisionShape2D nodes, that are synchronized for mp purposes.

With collider debug turned on, when the two shapes collide, I observe a small red square at the point of contact. What is this, I cannot find reference to it?

I move one shape from it’s spawn location, to another location. The collider debug shows the collision shape moves with the parent node as expected. The collision between the two nodes no longer occurs. A collision is still possible between with the previous position (even though, there are no visible colliders in debug mode). Also, the red collision square still appears where the point of contact would have been.
Expected behaviour, collision between two colliders. Unsure as to what the red square is at point of contact.
Collision with no visible second collider
No collision detected at the drawn location of the collider

It is a debug draw for a contact point when two shapes collided.

Your second screenshot is pretty wild, does that happen for long? How are you moving the other shapes? Biggest question of all: does it affect gameplay? It could be that the debug draw is slow to update or buggy, in which case I wouldn’t worry about it.

Thank you for clarification on that.

It affects gameplay. By moving around and interacting with the ‘invisible’ collider, it is clear it is the same, circular collider, that is being drawn in a different location.

I am not sure how to debug why the collision calculations are taking place in one location, and the colliders are drawn in a separate (and expected) location.

Do you have a hidden static body/collision shape in your scene tree? Colliders still operate even if invisible, which is unfortunate.