FutureScape

OVERVIEW

// METRICS

Engine
Unity (XR Interaction Toolkit)
My Roles
Gameplay Programmer,Game Designer
Platforms
VR, PC, WebGL

Developed for Next Lab, FutureScape is a VR career exploration tool, built in Unity, that lets middle schoolers try out careers across 15 STEAM industries through short, hands-on minigames. The project features interactive minigames, each attempting to emulate different careers such as pharmacology, manufacturing, and forensic science. Students played it at school visits, outreach programs and events.

I worked on FutureScape as a programmer with a team of five to eight members. I specifically designed and developed the pharmacy, manufacturing, and urban planning minigames, plus the custom VR rig that every minigame uses. In the pharmacy minigame, players act as pharmacists, dispensing medications to patients within a time limit. The manufacturing minigame challenges players to build assembly lines and create products while managing a budget. The urban planning minigame involves designing a city and managing resources and budgeting effectively.

TECHNICAL FEATURES

// Systems that I've contributed to

Custom VR Rig

The XR Interaction Toolkit's starter rig makes carrying and moving mutually exclusive: grabbing something turns off teleporting on that hand, and starting a teleport drops whatever the hand is holding. It also juggles more movement modes than a first-time VR player can learn quickly. Four of us each prototyped a replacement, and mine became the standard rig for every FutureScape minigame. With it, students carry parts across a room in a few teleports, and we spent less time explaining controls at events.

One-Stick Teleport

I rebuilt the right hand around one rule: push the stick forward to aim, let go to teleport, push left or right to snap-turn. A custom Thumbstick Held action replaces XRI's stock teleport, turn and move actions. It only fires in the stick's north sector, so turning and aiming can never collide, and its canceled callback, which fires when the stick springs back to center, is the "let go" signal.

The input callbacks only set flags, and Update does the work. It reads where the arc was pointing when the player let go and hands the move to XRI's TeleportationProvider instead of moving the rig directly. The provider goes through XRI's locomotion system, which grants exclusive access, so a teleport can never overlap a snap turn in the same frame.

// Teleport on release
// Player hasn't released the thumbstick, don't teleport yet
if (!_hasReleasedThumbstick) return;

// Player now wants to teleport, check if it's a valid location
if (!rightTpRayInteractor.TryGetCurrent3DRaycastHit(out RaycastHit hit))
{
    _isActive = false;
    _hasReleasedThumbstick = true;
    return;
}

// Valid location: hand the move to XRI's locomotion system
TeleportRequest request = new TeleportRequest()
{
    destinationPosition = hit.point,
};
tpProvider.QueueTeleportRequest(request);

Teleporting While Holding Items

This is the main reason the custom rig exists. While the player aims a teleport, the grab ray has to get out of the way, but XRI offers two ways to turn a ray off, and they behave very differently:

// Turning Off The Grab Ray
Approach What happens to a held object
gameObject.SetActive(false) or enabled = false The interaction manager unregisters the interactor and its selection ends. The object drops.
maxRaycastDistance = 0 The interactor stays registered and keeps its selection. The ray has zero length, so it finds no hover targets and can't grab anything new. The object stays in hand.

So the rule is: if the hand is empty, switch the grab ray off completely; if it's holding something, mute it. I checked the XRI source to confirm that a zero-length ray also draws a zero-length line, so the muted ray disappears. The same trick hides the placeholder hand and its line when a player grabs something, because XRI's built-in Hide Controller On Select had nothing to hide on our nested hand prefabs.

// Muting the grab ray
void Update()
{
    if (!_isActive)
    {
        // Idle: teleport ray off, grab ray fully restored
        rightTpRayInteractor.enabled = false;
        rightGrabRayInteractor.maxRaycastDistance = defaultGrabRayDistance;
        rightGrabRayInteractor.gameObject.SetActive(true);
        return;
    }

    // Aiming a teleport: turn on the teleport ray
    rightTpRayInteractor.enabled = true;

    // Hide the grab ray WITHOUT disabling the interactor
    rightGrabRayInteractor.maxRaycastDistance = 0;

    // Only fully switch off the grab ray if the hand is empty
    if (rightGrabRayInteractor.interactablesSelected.Count <= 0)
    {
        rightGrabRayInteractor.gameObject.SetActive(false);
    }

    // ...teleport logic from above
}

Teleportable Layer

Early builds had a teleport-anywhere bug: the arc could land on walls, tables and props. Unity and XRI have two separate layer systems. Physics layers decide what a raycast can hit, and XRI interaction layers decide which interactors can use which interactables. Restricting the teleport ray's interaction layers wasn't enough, because my rig reads the raw physics hit instead of waiting for an interactable to be selected, so any collider the arc touched was still a valid destination.

The fix was a new Teleportable physics layer. The teleport ray's mask only includes that layer, so if the ray hits anything, the destination is valid by definition. Level designers now mark a floor as walkable just by setting its layer, with no components or interaction-layer setup.

// Teleportable layer setup
# ProjectSettings/TagManager.asset (layers)
  - Scenetransition   # 10
  - Teleportable      # 11  ← new

# Right Teleport Ray → XRRayInteractor
  m_RaycastMask:
-   m_Bits: 4294967295   # Everything
+   m_Bits: 2048         # 1 << 11 (Teleportable)

# Teleportation Area.prefab
- m_Layer: 2    # Ignore Raycast
+ m_Layer: 11   # Teleportable

THOUGHTS & REFLECTION

FutureScape reflection

What accessibility issues came up when making VR for kids?

Before we built a custom rig, we tried one with continuous movement, where players glide around freely with the joystick instead of teleporting. That let them hold objects and interact while moving, but it gave many of the students who playtested it motion sickness, and one student even threw up. Something had to change, and the custom rig was the answer. Teleporting avoids the mismatch between what your eyes see and what your body feels, which is what causes motion sickness, and my rig let players teleport while still holding objects, something the XR Interaction Toolkit's starter rig couldn't do.

Controls were the other hurdle. Many students were trying VR for the first time and only had a few minutes with each minigame, so the rig had to be learnable almost instantly. I reduced the right hand to one rule: push the stick forward to aim, let go to teleport, and push left or right to turn. As a result, we spent much less time explaining controls at events and more time watching students actually play.

Complexity wasn't meant for this project

I found making games for children to be much more difficult than making games for adults. Why? Wouldn't simpler games be easier to make? Building the features wasn't the issue; the gameplay was. We prototyped every minigame, and every one of them changed because it was too complex. The games were also meant to be played in short sessions at events, which meant cutting even more. The minigame with the largest cut was Urban Planning, which I built. Its resource cascade, where each working building's output could power the next, was cut not because the system didn't work, but because it was too hard for kids to understand. In the end, the game became a simple city-builder sandbox where players could build freely without managing resources.

It was a humbling lesson in designing for your audience instead of for yourself, but it was also a necessary one. A system can be technically solid and still be the wrong choice if players can't follow it.

What would I change?

Our team would have benefited greatly from more thorough design meetings with clear feedback loops and regular QA. Many of our cuts only became obvious once students played the games, and by then the systems were already built. The resource cascade in Urban Planning, for example, was fully working before a playtest showed it was too complex. Testing rough paper or greybox versions with kids earlier could have prevented many of the late changes and large cuts across the minigames.