Inspiration
Real pinball machines are magnificent mechanical marvels, but they are heavy, expensive, and require a dedicated corner of an arcade. We asked: what if any desk or coffee table in your home could instantly become a living, breathing pinball table? What if your everyday morning coffee mug acted as a glowing pop bumper, your notebook became a bank of drop targets, and a deadpan arcade-manager mouse in a bowtie called Monty oversaw the whole operation from your tabletop?
What it does
Room Pinball is a mixed-reality arcade pinball experience for Meta Quest that transforms real room geometry into balanced, playable pinball machines.
Players sit at any real table and watch as MRUK scene understanding maps their surface:
- Round objects (mugs, cups, plant pots) become energetic pop bumpers.
- Long objects (books, keyboards, pencil cases) become drop-target banks.
- Large flat objects (laptops, monitors) carry curved wire ramps over the top.
- Virtual pop bumpers, standup targets, slingshots, spinner lanes, and the "Duck Pond" saucer fill the remaining space.
Before you receive your first ball, an automated fairness validator simulates 280 test balls across the layout to detect and repair traps, dead zones, infinite loops, and unreachable targets. Once validated, Monty starts the game with dynamic announcements, multiball events, jackpots, missions, an 8-second highlight replay at game over, and a "Hall of Rooms" gallery of past tables you can anchor in your room.
How we built it
We built Room Pinball in Unity 6000.3.26f1 with OpenXR, Unity XR Hands, Meta XR Core SDK, MRUK, C#, and a custom deterministic 2D/3D physics engine running at a fixed 1 kHz step.
Instead of relying on heavy PhysX continuous collision detection that could tunnel or lag, we built a specialized 1 kHz ball simulation with circle/capsule colliders, kinematic tapered flippers with surface-velocity transfer, and 3D spline-based wire ramps. This deterministic architecture allows the automated fairness validator to play 280 test games in under a second directly on the Quest headset.
Monty's announcer blips, pop-ups, 47 procedural synthesized sound effects, dynamic music loops, neon shaders, and spatial anchors were built natively without external runtime dependencies.
Challenges we ran into
The foremost challenge was procedural layout fairness. In a traditional pinball table, designers spend months tuning slope angles and rail positions so the ball never gets stuck. In mixed reality, every user's room has different desk dimensions and random clutter.
We solved this by developing a rigorous two-stage table generator and validator:
- Object filtering: Objects blocking the flippers or shooter lanes are omitted and outlined in soft red so the player knows to clear them.
- Fairness bot validation: 240 bot-flipped balls and 40 hands-off balls test for dead spots, trapped loops, or unreturnable trajectories. If a table fails, repair passes insert kicker posts or reconfigure virtual rails before play begins.
Another hurdle was input latency in hand tracking: pinball requires millisecond-exact reflexes. We implemented a 70 ms catch-window assist and microsecond-level input timestamping so late or slightly jittery pinches still register crisp, satisfying flipper hits.
Accomplishments that we're proud of
- True mixed reality integration: Real clutter is not an obstacle—it becomes part of the game. Hitting your actual coffee mug with a virtual chrome ball feels delightfully tactile.
- Automated fairness validator: Every procedurally generated table is provably playable, drainable, and fun before the player ever touches the plunger.
- Robust test suite: 45 automated headless verification checks pass with 0 failures, validating 1 kHz physics precision, rail containment, flipper velocity profiles, room generation, and game rules.
- Pure procedural asset pipeline: 47 synthesized sound effects, dynamic audio loops, procedural meshes, and custom neon shaders deliver high visual and acoustic punch with minimal package footprint.
What we learned
We learned that mixed-reality hand tracking excels when paired with generous temporal tolerance. Rather than demanding flawless 10 ms camera tracking, giving the player a 70 ms catch window makes hand-flipped pinball feel responsive, fair, and intuitive. Furthermore, procedural MR design requires strict fallback layers—if a room scan has no classified table, generating a calibrated virtual table ensures the game is instantly enjoyable anywhere.
What's next for Room Pinball
- Completing full on-device Quest headset profiling at target 72 Hz with active passthrough and hand tracking.
- Gathering uncoached user testing on physical desks with diverse room lighting and clutter arrangements.
- Expanding Monty's voice line packs and adding online daily room seed leaderboards.
- Integrating passthrough mesh occlusion so real hands and objects seamlessly occlude balls and virtual ramps.
Built With
- il2cpp
- metaxr
- mruk
- openxr
- unity
- vulkan