← All selected work

Interactive Systems · Motion Input

Phi Motion

An experimental camera-to-game input system that turns body-pose observations into discrete motion intents.

Motion Systems EngineeringExperimental integration2026 · Research prototype

Context

A body-pose observation is not a game command. The engineering problem was to connect noisy device observations to deliberate actions in an existing Unity game while keeping capture, interpretation, and gameplay ownership clear.

My responsibility

Designed

  • The provider-neutral boundary between observations, motion interpretation, and game input.

Implemented

  • Native-to-Unity integration, calibration and intent logic, diagnostics, and the Runner input adapter.

Validation scope

  • Deterministic provider, engine, timing, and bridge scenarios, with recorded lifecycle and packaging checks.

Outside my ownership

  • Platform pose-estimation algorithms and the existing sample game's gameplay rules were reused.

Constraints

Existing game

New motion input must coexist with the game's own action eligibility and state.

Person variation

Screen position alone is a poor reference for different bodies, camera placement, and posture.

Time & uncertainty

Observations can be delayed, repeated, or incomplete. Input freshness and interpretation need explicit behavior.

Lifecycle

Native capture and application gameplay must each own their state without creating competing camera sessions.

System architecture

  1. Device / native layer

    Ownership boundaryPlatform capture + my application integration

    Own capture and pose observations, then present them through a consistent application representation.

    1. Device observation
    2. Pose representation

    Observation, quality, and time

  2. Interaction layer

    Ownership boundaryMy calibration and intent interpretation

    Establish a person-relative reference and interpret movement over time into explicit intent states.

    1. Calibration
    2. Motion interpretation
    3. Intent state

    Discrete intent events

  3. Game layer

    Ownership boundaryMy input adapter + existing gameplay

    Translate eligible intents into game actions while respecting the game's own state and rules.

    1. Game input boundary
    2. Gameplay action

Why these boundaries exist

Perception reports what was observed. Intent interpretation decides what that observation should mean. The game adapter attempts an action; gameplay decides whether it can run. Keeping these outcomes separate makes integration failures visible instead of treating every recognized motion as a successful action.

Engineering decisions

Use a person-relative reference

Context
Absolute screen movement changes with body size, placement, and camera framing.
Options
  • Fixed image coordinates
  • A calibrated reference relative to the person
Decision
Calibrate a neutral reference and interpret relative geometry.
Why
It makes the interaction describe movement from a known stance rather than an arbitrary screen location.
Tradeoff
Calibration quality and return-to-neutral behavior become important constraints of their own.

Separate intent from action acceptance

Context
The recognizer can identify a motion while the game is already busy with another action.
Decision
Use an explicit input adapter that respects intent phase, observation order, and game eligibility.
Why
This keeps recognition independent of gameplay and makes rejection diagnosable.
Tradeoff
A recognized intent may still be rejected. Validation must observe the full path through actual action start.

Interpret motion over time

Context
A single noisy pose can resemble a gesture without representing a deliberate action.
Decision
Use temporal evidence and explicit intent states.
Why
Transitions and recovery are more useful to a game than treating every frame as a fresh command.
Tradeoff
Timing, capture cadence, and rearming require separate tests; temporal logic does not eliminate noise automatically.

What broke

Fresh evidence met an expiring result

Observation
A valid new completion could be evaluated as the previous observation expired, incorrectly interrupting continuity.
Cause
The order of fresh-result admission and expiry handling mattered in the same processing cycle.
Change
Admit a valid distinct completion before servicing expiry, while preserving rejection of stale, duplicate, and invalid input.
Still open
The recorded repair addresses that admission case; it does not resolve every readiness or quietness issue.

Passing checks did not settle physical control

Observation
Recorded diagnostics still showed readiness and quietness edge cases, including behavior under correlated variation and slower capture cadence.
Cause
The current reference and temporal interpretation can constrain when actions become available.
Change
Keep those failing scenarios visible and prepare focused observation and human-operated comparison.
Still open
Physical gameplay acceptance remains open; packaging and app launch are separate evidence.

Iterations

  1. 01

    Observation integration

    Establish native capture, a consistent pose representation, and provider boundaries.

  2. 02

    Relative & temporal interpretation

    Introduce calibration, intent states, and explicit recovery behavior.

  3. 03

    Game integration & observation

    Separate recognized motion, bridge decisions, and controller response, then investigate timing and readiness gaps.

Verification

  • Deterministic validation

    RECORDED

    Historical source records cover provider behavior, calibration, intent transitions, event ordering, and the game bridge. Automated evidence is kept distinct from human acceptance.

  • Timing investigation

    PARTIAL

    The fresh-result admission repair has recorded validation. Readiness, quietness, and cadence scenarios still have unresolved expectations.

  • Device / integration

    EXPERIMENTAL

    Packaging, install, launch, and process liveness are recorded. They do not establish reliable physical gameplay on the current candidate.

Current state

EXPERIMENTAL INTEGRATION

The observation-to-intent-to-game path exists, with diagnostics and deterministic validation. A reliable physical interaction verdict and release acceptance are still outstanding.