All Case Studies

VR Bunny Biking Companion

June, 2019

A VR exergame for children with disabilities that pairs stationary bike integration with an AI bunny companion for motivation, in a low-sensory, stylized environment for accessible gameplay. 80% of participants increased exercise time and distance, highlighting the potential of gamification and immersive technology to enhance physical therapy.

Introduction

  • Overview: VR exergame designed to motivate and address the specific needs of children with cognitive and learning challenges. Players navigate a stylized virtual world using a stationary bike, passing checkpoints, collecting coins, and receive verbal motivation from an AI bunny companion, combining physical activity with immersive gameplay.
  • Motivation: Developed for my bachelor project, based on academic research and in collaboration with physical therapists, the game was designed to facilitate a motivating exercise solution with focus on accessibility, low sensory load, and a companion-driven motivational system to engage the children without overwhelming them.

Key Features

  • AI Bunny Companion: Guides and motivates players through verbal encouragement, dynamic behaviors, and adaptive responses based on player performance.
  • Stationary Bike Integration: Converts pedaling motion into forward movement in the VR world, translating real-world activity into in-game progress.
  • Checkpoints: Visible goals on the path that serve as intermediate targets, guiding players through the level.
  • Collectibles: Coins spawned when passing through rings serve as optional rewards, encouraging exploration and providing a sense of accomplishment.
  • Looping Levels: After completing a lap, players seamlessly restart the course with refreshed collectibles, encouraging continued play.
  • Dynamic Feedback: The AI companion celebrates successes, encourages effort, and dynamically reacts to changes in player activity.
  • Low-LOD Environment: A nature-inspired environment with minimal detail to avoid overstimulation while maintaining visual appeal.
  • Stylized Graphics: A warm and approachable art style, enhanced with subtle post-processing effects for immersion.

Key Challenges & Solutions

1. Motivating Players with Adaptive AI Feedback

  • Challenge: Design and implement an AI companion that provides engaging and dynamic feedback to players.
  • Solution: Implemented a finite state machine (FSM) with adaptive AI states (Idle, Follow, Encourage, Celebrate) that respond to player actions. Each state features selectively randomized audio feedback and utilizes NavMesh pathfinding for realistic movement and interaction.

2. Integrating Stationary Bike Motion into Gameplay

  • Challenge: Translate gyroscopic sensor data from a stationary bike into smooth, responsive in-game movement.
  • Solution: Integrated a UDP-based script (not my own script) to receive pedaling data. Applied realistic acceleration and deceleration curves, mapping pedaling intensity to in-game speed for controlled and immersive pacing.

3. Performance & Avoiding Motion Sickness

  • Challenge: Ensure player comfort in VR by minimizing motion sickness caused by low frame rates and stuttering.
  • Solution: Optimized for 90 FPS using static batching, baked lighting, object pooling and LODs. Reduced sudden movements with fog effects and smooth turning mechanics. Physics updates were synchronized with frame rendering to eliminate jitter.

4. Creating Engaging Environments for a Sensitive Audience

  • Challenge: Design a visually appealing world while avoiding overstimulation for the target audience.
  • Solution: Setup low-LOD environments using Unity Terrain Tool and stylized nature assets. Used balanced color grading and subtle fog effects to craft a warm, focused aesthetic tailored to the audience’s needs.

5. Ensuring Non-Repetitive AI Behavior

  • Challenge: Avoid predictable or robotic behavior in the AI companion.
  • Solution: Added state-based randomization for voice lines and animations, with exclusions for recently used options. Integrated adaptive behaviors such as running ahead or pausing with celebratory animations to keep interactions dynamic.

6. Optimizing Collectible Placement and Interaction

  • Challenge: Manage collectibles efficiently to avoid performance drops.
  • Solution: Implemented object pooling to dynamically spawn and recycle coins, reducing resource usage.

7. Balancing Accessibility and Challenge

  • Challenge: Ensure the game is accessible while maintaining a rewarding experience.
  • Solution: The AI companion provides encouragement based on player pacing. Coin collection adds engagement, while checkpoints offer clear intermediate goals, reducing cognitive load.

Impact

The exergame significantly improved exercise engagement, with 80% of participants increasing their time and distance compared to cycling without the game. Many participants, especially older students and gamers, found the activity more enjoyable due to the bunny companion’s encouragement. The project successfully demonstrated the potential of gamification and NPC-driven interactions to motivate exercise in children with disabilities.

Key Takeaways

This project demonstrated the potential of VR and AI to enhance physical therapy through interactive and engaging experiences. The integration of an AI companion and a carefully tailored VR environment provided meaningful motivation and accessibility for children with disabilities. Building this system emphasized the importance of balancing technical performance, user experience, and inclusivity in game development.

Have a Project in Mind?

Let’s chat about how I can help bring it to life.

I’ll get back to you within a day.

Get in Touch