Skip to content

This repository contains a VR Project made in unity, It was a collaborated effort with the team of students from IIT Jodhpur.

Notifications You must be signed in to change notification settings

AnshGulati/Classroom-Simulation-VR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classroom-Simulation-VR

Drive Link for Video Demonstration of the Project

https://drive.google.com/file/d/1DjvWDkgOIoDCBtG7kjkMmCVK1ycGL1Qo/view?usp=drive_link

🚀 Overview

Classroom Simulation VR is a deeply immersive Virtual Reality Exposure Therapy (VRET) experience designed to support individuals dealing with social anxiety. Built in Unity using XR Interaction Toolkit, this project simulates a realistic classroom environment that gradually increases social exposure through interactive storytelling, voice-based interactions, and AI-guided encouragement. The experience begins in a therapist's office and transitions into a virtual school setting where the user engages in structured, supportive social situations. This simulation is specifically crafted to help users practice public interaction scenarios such as entering a classroom, responding to peers, and introducing themselves in front of others, one small step at a time.

❓ Problem Statement

Individuals suffering from social anxiety often face difficulty in real-life social environments like schools, leading to avoidance and stress. Traditional therapy methods lack controlled, repeatable, and safe environments to practice social engagement. Classroom Simulation VR bridges this gap by offering a customizable, non-threatening virtual environment where users can practice and build confidence through guided exposure and gradual immersion.

🎯 Key Objectives

  • Provide a VR-based therapeutic experience that mimics real-life classroom situations for individuals with social anxiety.
  • Allow interaction with virtual characters (NPCs) in a natural, progressive manner.
  • Enhance realism and immersion with spatial audio, environment transitions, and body language cues.
  • Integrate voice recognition for natural user input and reinforcement.

🛠 Technologies Used

  • Engine: Unity
  • Languages: C#
  • Design & Modeling: Blender, Figma
  • XR SDKs: XR Interaction Toolkit
  • AI/UX: Voice Recognition, NLP Conversion
  • Optimization: LOD (Level of Detail) for 3D Models

🧠 Features & Capabilities

🎬 Structured Scenes & Progressive Levels

  • Onboarding Sequence:
    • Therapist Office Scene: The patient discusses therapy and is introduced to the VR headset.
    • MR Transition: Environment fades to mixed reality view with "Start" and "Exit" buttons.
  • Level 1: Entering a Classroom
    • Scene Transitions: Corridor → Doorway → Inside Classroom
    • Interactions:
      • Choose a seat (front/middle/back).
      • Light social interaction with a classmate (multiple response options: voice input, minimal response, avoidance).
      • Positive reinforcement through NPC and on-screen prompts.
  • Level 2: Public Introduction
    • Teacher Interaction: Welcoming the student, prompting an introduction.
    • User Decisions:
      • Stand up confidently, hesitate, or show nervousness.
      • Use voice input to introduce oneself.
      • Receive positive feedback based on behavior and effort.
    • AI Support: Context-sensitive encouragement using voice lines like “You are safe” and “You did it!”

🗣 Interactive Voice Input & AI Responses

  • Users can respond verbally during key social moments.
  • Voice recognition translates input to text for in-game display and interaction.
  • AI assistant offers motivational guidance in real time.

🎮 XR Interaction Features

  • XR Rig Setup: Includes locomotion, teleportation, and rotational movement.
  • Interaction Tools:
    • Ray & Direct Interactors: For buttons and objects.
    • Poke Interactor: For realistic UI and physical interactions.

🎧 Immersive Sound Design

  • Environmental sounds dynamically change based on location and user actions.
  • Spatialized audio enhances realism—hallway murmurs, classroom chatter, teacher voice, etc.

⚙️ Performance Optimization

  • LOD Implementation: Level of Detail optimization for 3D assets ensures smooth frame rates across devices.

🌍 Scope of the Project

This VR simulation aims to:

  • Support Mental Health through Exposure Therapy: Empower users to practice social scenarios safely and confidently through progressive interaction and repetition.
  • Increase Accessibility to Therapy Tools: Offer an affordable, reusable VR-based solution for therapists and institutions focused on anxiety treatment.
  • Showcase Realistic VR Interaction Design: Demonstrate best practices in interaction design, sound design, voice integration, and emotional UX in immersive environments.

About

This repository contains a VR Project made in unity, It was a collaborated effort with the team of students from IIT Jodhpur.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published