Greet, then approach
The companion checks distance and whether a wall blocks its view. It turns toward the user and waves before approaching. Navigation routes around obstacles, while a retreat response maintains space when the user moves too close.
Unity prototype · 2026
Following, guiding and waiting in a shared virtual space.
Project overview
A Unity prototype exploring how a virtual companion greets, follows and guides a user through a shared space. It combines obstacle-aware navigation, animated greetings and distance-based waiting, with controls for pausing, resuming and changing plans.
I designed the interaction flow and implemented the C# state logic, user controls and interface feedback, integrating NavMesh navigation with character locomotion and greeting animation.
Demonstration
01 / Interaction design
The companion checks distance and whether a wall blocks its view. It turns toward the user and waves before approaching. Navigation routes around obstacles, while a retreat response maintains space when the user moves too close.
Accepting the invitation starts the route to the meeting point. Declining keeps the companion following the user. “Wait a moment” interrupts the current activity, turns the character toward the user and reopens those choices.


02 / Implementation
A C# state controller coordinates following, turning, choices, guiding and arrival. NavMesh handles the route, and the Animator uses navigation velocity to transition between standing and locomotion.

Prototype and interaction integration: Shirui Fu. Character and locomotion animations: Unity Starter Assets. Greeting animation: Mixamo.