Room Raider MR Background
← Back to Portfolio Mixed Reality Showcase

Room Raider

Your physical room is the level. A deep-dive into the engineering and spatial AI behind a real-world Mixed Reality dodgeball experience.

Start Your Project
PlatformMeta Quest (Standalone)
EngineUnity (URP)
SDKMeta XR SDK • Building Blocks
GenreMixed Reality Action
Core TechScene Understanding • Spatial AI
01 / Overview

Redefining the Arena.

Room Raider transforms the player's physical room into a living game arena. Unlike traditional VR, this experience anchors digital gameplay directly to the player's environment.

The AI characters understand, navigate, and react to the real room, using furniture, walls, and objects as cover. This creates a uniquely personal and immersive dodgeball experience that feels grounded in reality.

"The game's core tension comes from not knowing where an enemy is hiding — it becomes genuinely exciting when the enemy is behind your actual couch."

Room Raider Gameplay Scene
System Architecture Visualization
02 / Engineering

System Architecture

Architected with a layered approach, Room Raider leverages the Meta XR SDK for hardware perception and custom Unity systems for high-performance gameplay logic.

  • RoomAnalyzer System Ray-casts against physical mesh to classify anchors (floor, walls, furniture) and build runtime spawn maps.
  • Hybrid Navigation A custom A* waypoint graph combined with local steering behaviors for natural AI movement without expensive NavMesh baking.
  • Physics Life-Cycle Optimized PhysX integration for dodgeball trajectories with controller-velocity-derived release delta.

Trailer Walkthrough

A technical demonstration of spatial occlusion and AI behavior in a real-world environment.

▶
Technical Challenges

Engineering Solutions

PROBLEM 01

Real-World Occlusion

Virtual objects traditionally render on top of Passthrough. We implemented Depth Masking via Meta Building Blocks to ensure enemies correctly hide behind real furniture.

PROBLEM 02

Unpredictable Geometry

Room meshes often have gaps. Our RoomAnalyzer applies a secondary validation pass, ray-casting to confirm bounding volumes are backed by real geometry before spawning.

PROBLEM 03

Mobile SoC Performance

Running Passthrough MR + Physics + AI is intensive. We staggered AI state-machine ticks and used GPU Instancing for all characters to maintain a locked 72Hz.

04 / Logic

AI State Machine

The EnemyAI Controller uses a four-state machine driven by player awareness and aggression timers. This ensures enemies feel reactive and smart in any room layout.

Behavior

Enemies peek from cover, taunt the player, and reposition if they detect a near-miss.

Interaction

Physical throws with haptic feedback and screen-edge indicators for high-tension feedback.

AI Behavior State Machine Visualization
Gallery

Mixed Reality in Action

Gallery 1
Gallery 2
Gallery 3
Gallery 4
Want to Build a Game Like This?

Let's Design Your Project

We engineer modular, production-ready interactive systems and robust game loops. Reach out to our engineering team to bring your vision to life.

Start Your Project
Discovery

Explore Other Projects

View All Work →
Never Open The Door
PC Horror

Never Open The Door

View Overview →
Paapi Gudia
PC + VR Horror

Paapi Gudia

View Overview →
Technical Case Study — Project Room Raider

Meta Quest 3 / Vision Pro  /  Spatial Computing

Room Raider
Spatial Understanding & Real-World Occlusion

A technical breakdown of the dynamic occlusion masking layer and persistent spatial anchor registry built for high-presence Mixed Reality experiences.

Platform

Meta Quest 3 / Vision Pro

Occlusion

Dynamic Masking (Sub-cm)

Anchors

Persistent Multi-session

Passthrough

4K Optimized

Technical Performance Benchmarks
< 10ms

Occlusion Update Latency

Real-time depth-masking response to physical movement, ensuring virtual items stay hidden behind moving objects.

90 FPS

Passthrough Frame Rate

Locked performance in full-color passthrough mode on Quest 3, with complex virtual geometry overlays.

0.5cm

Anchor Stability Variance

Sub-centimeter drift over 60-minute sessions, maintaining absolute world-coordinate consistency.

01  /  System Architecture

The Spatial Computing Stack

We engineered a three-tier Spatial Manager that handles the ingestion of real-world mesh data and its conversion into a performant gameplay layer.

Spatial Mesh Manager

Dynamic processing of room-scanning data into lightweight physics meshes for real-world collisions and pathfinding.

Occlusion Shading Layer

Custom depth-masking shaders that use real-world mesh data to 'carve out' virtual objects in the rendering buffer.

Persistent Registry

Encryption-backed local database that maps virtual object IDs to physical world coordinates via spatial anchors.

02  /  Challenges & Solutions

Engineering Real-World Blending

01

Dynamic Occlusion Latency

Problem

Virtual 'Glow' Around Physical Objects

Latency between the physical passthrough and the virtual depth-mask often caused virtual items to 'peek' out from behind walls during fast head movements.

Solution

Predictive Occlusion Masking

We implemented a predictive mask that utilizes the headset's IMU data to 'shift' the occlusion mesh by the expected latency offset, ensuring perfect alignment at 90 FPS.

02

Spatial Anchor Drift

Problem

Virtual Objects 'Sliding' Over Time

As the player moves through the room, SLAM (Simultaneous Localization and Mapping) errors can cause the coordinate system to shift, making virtual items 'slide' off tables.

Solution

Multi-Point Anchor Triangulation

Instead of a single anchor per object, we developed a triangulation system that uses 3-5 surrounding anchors to calculate a weighted average position, reducing drift by 70%.

03  /  Engineering Takeaways

Validation & Results

1

Real-World Geometry is the Best Level Design Tool

Designing for Mixed Reality requires a shift from 'creating spaces' to 'augmenting existence.' The player's room provides more immersion than any virtual skybox ever could.

2

Persistence is the Key to MR Engagement

Virtual items that stay where you put them across sessions move the technology from a 'gimmick' to a useful part of the user's environment.

3

Occlusion Latency > Visual Resolution

Immersion-breaking artifacts (like depth-clashing) are far more detrimental to the user experience than a slightly lower-resolution virtual object. Prioritize sync over poly-count.

Ready to Build at This Level?

DualCore specializes in high-fidelity Mixed Reality and Spatial Computing. If your project demands technical excellence in MR—let's talk.

Request Technical Audit