If anyone has played Minecraft, or seen any number of movies (Saw 5, for instance) or video games, there's a trap in which either one (or both) wall(s) moves toward the other, or the ceiling lowers until reaching the floor (think Jill Sandwich), resulting in the crushing of anything unfortunate enough to be caught in the middle.
How does this work? What makes the walls move? Wouldn't friction prevent movement of the walls? Etc
I'm sure it is possible given how there are things like trash compactors and car crushers, but I'm looking more at things like a hydraulic press sort of machine in which both presses advance far enough to completely come into contact with each other regardless of what is in between them.
This is something I'm trying to write about and I need help.