Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Kanor |
I have recently been making a thwomp-like enemy for my 2D platformer. It’s looking great right now, but I’ve found a concerning edge case:
In general, if a player (a kinematic body) is squished between two walls, they should die. Is there a generalized way to know when something like this is happening and call the appropriate function?