Hacker News new | ask | show | jobs
by berkes 18 days ago
I'd imagine that pinball is essentially 2D. Maybe some lanes and ramps would affect gravity, but I can imagine the few Z-direction adjustments aren't worth simulating everything in 3D.
4 comments

The ball often jumps off the playfield in real pinball. It's not uncommon for it to jump high enough to hit the glass. You'll never get an accurate simulation if you simulate it in 2D.
When you already have accelerator fields (pretty likely for a pinball simulator) you can reuse them for ramps
There are tables like AC/DC and Black Hole with a lower playfield under the main.
But that could be modeled with essentially two 2D maps with portals.
> I'd imagine that pinball is essentially 2D.

Why? It's a 3D object careening around a 3D environment. I'm struggling to imagine how you could imagine this.

If you struggle imagining that, try playing this classic: https://space-cadet.nl/#play

While Space Cadet Pinball proudly calls itself '3D pinball' , the only 3D thing about it is that the table background bitmap is drawn in perspective and the ball gets smaller if farther away ;-)

I can see how somebody could have this conception.

I grew up playing only video game pinball. It wasn't until I was living in a more urban area in my late teens / early twenties that I actually played on real pinball tables. Until I played real tables I don't think I understood the physicality of the game.

It is certainly a 3D object in a 3D environment.

But all the physics is 2D. Because the model is a circle on a map on to which 2D forces are applied. The ball moves in 2D. Even with ramps and shutes, which can be modeled like "extra 2d maps with entrances and exits (portals)".

I've made a pinball sim myself (in bevvy), and have poked around in FLOSS projects (vector pinball, Metal-Pinball) as inspiration for that sim. While some pinball games do use full 3D modeling, I fail to see the benefit that the 3rd dimension offers. The way I see it, it can add a tiny bit of extra realism (like bouncing off the floor, friction, curved ramps or floors etc). But a lot (and I expect not all) of that extra can be simulated in 2D by manipulating the 2d forces applied.

It's a good enough approximation