XR & Spatial Computing / XR Home Defense

XR Home Defense Simulator

Mixed-reality combat-readiness training that turns your actual room into the scenario.

01/02Mixed reality grounded in real room geometry

A Unity 6 mixed-reality application for Meta Quest that uses spatial computing to blend real room geometry with virtual threat scenarios, so the training space is the trainee's own home rather than a generic virtual set.

Engineering highlights

Hover to preview · click to pin

Code

No snippet for this highlight yet

Demo

Training where it actually matters

Conventional VR scenario training puts you in someone else’s building. The premise here is the opposite: scan the room you’re standing in, and place the scenario inside it. Spatial computing on Quest supplies the geometry, and the threat placement system distributes hostiles across regions the scan says are valid — respecting cover, sightlines, and spacing rather than dropping targets arbitrarily.

Rules of engagement over marksmanship

The ballistics model does raycast hit detection with multi-target penetration, but the part that carries the training value is the civilian-versus-combatant feedback. A hit is not automatically a success. That distinction is the thing the simulation is actually teaching.

Structured for review

The session runs as an explicit state machine — Setup, Active, Debrief — with event-driven transitions and statistics gathered throughout. The debrief phase is a first-class part of the design, not an afterthought, because after-action review is where scenario training converts into retention.