A VR escape room experience built in Unity 2022.3.6f1, designed for the Meta Quest 3.
Navigate through a dark, abandoned asylum using a flashlight, and find the Morgue to escape!
Check out a demo.
- Joystick Movement: Move using the left thumbstick.
- Flashlight Mechanic: Spot Light attached to head (Main Camera).
- Victory Condition: Reach the invisible trigger at the 'target' spot to win.
- Victory UI: World-space canvas displays "YOU ESCAPED!" on success.
-
Movement:
- XR Origin has Character Controller and Continuous Move Provider.
- Left-hand Move Action mapped to primary 2D Axis (left joystick).
-
Flashlight:
- Spot Light parented to Main Camera.
- Range: 20โ30 units.
- Spot Angle: ~45โ60 degrees.
-
Victory Trigger:
- Invisible Box Collider (IsTrigger enabled) near the 'target' spot.
- WinTrigger script detects player collision and activates Victory UI.
-
Lighting Settings:
- Realtime lighting (no baked lightmaps).
- Skybox ambient environment.
-
Controls:
- Walk: Left Thumbstick (or W/A/S/D during editor simulation with keyboard script).
- Look: Head rotation (via Main Camera).
- In Editor:
- Simulate movement using keyboard W/A/S/D or manual XR Origin dragging.
Project folder: https://mailmissouri-my.sharepoint.com/:f:/r/personal/ppf2d_umsystem_edu/Documents/TheLastPatient?csf=1&web=1&e=dyXIKv
-
Unity Version:
- Unity 2022.3.6f1 (LTS)
- 3D Core Project Template (not URP/HDRP)
-
Required Unity Packages:
- XR Plugin Management
- XR Interaction Toolkit
- TextMeshPro (for UI)
-
Required External Assets:
-
XR Settings:
- XR Plugin Management โ Oculus Provider (Standalone + Android)
- OpenXR Runtime โ Set to Oculus
- XR Origin (Room-Scale) added for player control
- Continuous Move Provider (Action-Based) for joystick movement
- Add sound effects (footsteps, ambient asylum noises).
- Add interactive doors and puzzles.
- Implement a flashlight battery mechanic (power draining over time).
- Add fade-out transition when escaping.
- Deploy full APK build to Quest 3 for untethered VR experience.
Built with passion for horror exploration and immersive storytelling. ๐๏ธ๐ฆ