I'm working on something right now where I need to find out how much of a mc overlaps with another.

The process must be able to test for what it is actually touching, not just the bounding box because I'm making a game the needs to use a shpeFlag to test for ground and I want it to see how far into the ground the character goes and pull it up that amount.

Can anyone tell me how to do this?