why is falling through floors such a common bug in video games?

73 viewsOtherTechnology

I’ve glitched through floors in most games I’ve ever played. I was wondering if it was possible to explain to a non-programmer why this is such a common bug and so apparently difficult to eradicate.

In: Technology

2 Answers

Anonymous 0 Comments

“I’ve glitched through floors in most games I’ve ever played”

Really? That’s incredibly interesting. I’d say I’ve glitched through floors in maybe 1% of games I’ve ever played. You must be amazingly selective in what you play.

As for the question, collision detection in general can be quite difficult, but it’s nowhere near the level you claim it to be. The vast (VAST) majority of games do not glitch you through the floor.

Anonymous 0 Comments

In real life, the floor is very solid. Below the concrete is dirt, below the dirt is rock, and below that is literally kilometers of more rock. Even if you were to fall through the first layer of ground, you’d hit the next one.

The ground (and walls) in a video game are made of a razor thin material. It has no thickness at all. You can’t walk through the wall as you run into the flat surface, because of collision detection.

However, there are ways for you to pass through, usually because your computer can’t keep up with the frame rate, or a conflict of some sort occurs. For example when a train pushes your car into, and then through a wall. Or when you rotate the camera beyond its limit and now it’s behind the wall.