Hey deadeye, could you elaborate a bit more for me on the crushing event? I am in the classic scenario when the ceiling is coming down and the floor is coming up and you are stuck in between.
Currently i just deal with the teleporting problem you mentioned as a temporary glitch. I think i can keep it from happening, i am just not sure how. I also have the same problem when my player is crouched and enters a lower area. If you release crouch then you teleport to the nearest solid play area. Its actually kind of neat, but it can be unpredictable.
I would like to give the player a bit of give as the ceiling closes in, say 10px smaller than their bounding box. Then, after that point the player is crushed and killed. I like to find a way to go off of the player box so that i can allow the player to crouch in really tight situations, but still be crushed while crouched.
Anyway, any other input would be very useful!