Physics problem for character body 2d

Godot Version



if my character is trapped between a few animated bodies, it moves to a random location instantly, how do I fix this problem or detect it so I can kill the character?

It’s difficult to say what’s causing this without seeing more of your code/project.

Normally it’s expected that the character body will get pushed out of the overlapping collisions, but it shouldn’t teleport any further than necessary.

Are you able to share a sample project that demonstrates the issue?