Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pnlt/TableTennisVR-Version1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

TableTennis VR ๐Ÿ“

TableTennis XR Logo

An immersive virtual reality table tennis experience for Meta Quest devices

Unity Version Platform License Build Status


โš ๏ธ ACADEMIC RESEARCH NOTICE

๐ŸŽ“ FOR RESEARCH AND EDUCATIONAL PURPOSES ONLY

This repository contains research code developed for academic publication in a Q1 VR journal. The code is provided EXCLUSIVELY for:

  • Academic research and reference
  • Educational purposes
  • Peer review and reproducibility

โŒ PROHIBITED USES:

  • Commercial applications or distribution
  • Production deployment
  • Modified versions for commercial use
  • Any use outside academic research context

No permissions are granted for commercial use, redistribution, or derivative works beyond academic research. All rights reserved by the research team.


๐ŸŽฏ Overview

TableTennis VR delivers a cutting-edge virtual reality table tennis experience that combines realistic physics simulation with intuitive VR controls. Built specifically for Meta Quest devices using Unity 6 LTS, this game provides an authentic ping-pong experience that challenges players of all skill levels.

This implementation serves as a research prototype for our academic paper on VR physics simulation and haptic feedback in virtual sports environments.

โœจ Key Features

๐ŸŽฎ Immersive Gameplay

  • Realistic Physics Engine: Advanced ball trajectory and paddle interaction simulation
  • Haptic Feedback: Tactile responses for enhanced immersion
  • Dynamic Difficulty: Adaptive AI that scales with player skill level

๐ŸŸ๏ธ Customizable Environments

  • Multiple Venues: From classic indoor courts to exotic outdoor locations
  • Environmental Effects: Dynamic lighting, weather conditions, and ambient sounds
  • Personalization: Customize paddles, balls, and table designs

๐ŸŽฏ Precision Controls

  • Natural Hand Tracking: Intuitive paddle movements that mirror real-world play
  • Gesture Recognition: Serve and spin techniques using natural motions
  • Calibration System: Personalized setup for optimal comfort and performance

๐Ÿ† Game Modes

  • Single Player: Practice against AI opponents with varying difficulty levels
  • Training Mode: Skill-building exercises and technique refinement
  • Tournament Mode: Competitive matches with progression system
  • Free Play: Unrestricted practice sessions

๐Ÿ–ผ๏ธ Screenshots

Main Menu Gameplay Environment
Main Menu Interface Intense Gameplay Action Customizable Environment

๐Ÿ› ๏ธ Technical Specifications

Engine & Platform

  • Unity Version: 6 LTS (6000.0.51f1)
  • Target Platform: Meta Quest
  • Rendering Pipeline: Universal Render Pipeline (URP)
  • Physics Engine: Unity Physics with custom ball dynamics

Performance Metrics

  • Target FPS: 90 FPS (Quest 2) / 120 FPS (Quest 3)
  • Resolution: 1832ร—1920 per eye (Quest 2) / 2064ร—2208 per eye (Quest 3)
  • Memory Usage: <2GB RAM
  • Storage: ~500MB installation size

๐Ÿš€ Quick Start

Prerequisites

Unity 6 LTS (6000.0.51f1)
Meta Quest Development Setup
Meta Quest Link (for PC development)
Android SDK & NDK

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/TableTennisXRgame.git
    cd TableTennisXRgame
  2. Open in Unity

    • Launch Unity Hub
    • Select "Open" and navigate to the project folder
    • Ensure Unity 6 LTS is selected
  3. Configure Build Settings

    • File โ†’ Build Settings โ†’ Android
    • Switch Platform to Android
    • Configure XR settings for Meta Quest
  4. Install Dependencies

    Window โ†’ Package Manager
    Install: Meta XR All-in-One SDK
    Install: XR Plug-in Management
    

Development Setup

  1. Enable Developer Mode on your Meta Quest device
  2. Connect via USB and enable USB debugging
  3. Build and Run directly to your headset

๐Ÿ“ฆ Dependencies

Package Version Purpose
Meta XR All-in-One SDK Latest Core VR functionality for Meta Quest
XR Plug-in Management Latest XR configuration and initialization
Universal Render Pipeline 14.0+ Optimized rendering for VR
TextMeshPro Latest UI text rendering
Unity Physics Latest Physics simulation

๐ŸŽฎ Controls

Paddle Control

  • Natural Grip: Hold controller naturally as a paddle
  • Wrist Rotation: Control paddle angle and spin
  • Trigger: Grip strength adjustment

Movement

  • Room Scale: Physical movement within play area
  • Teleportation: Quick positioning (optional)

Menu Navigation

  • Point & Click: Use controller ray-casting
  • Hand Tracking: Direct interaction with UI elements

๐Ÿ”ง Configuration

Graphics Settings

{
  "renderScale": 1.0,
  "textureQuality": "High",
  "shadowQuality": "Medium",
  "antiAliasing": "4x MSAA"
}

Physics Settings

{
  "ballBounceRestitution": 0.8,
  "tableFriction": 0.6,
  "airResistance": 0.02,
  "gravityScale": 1.0
}

๐Ÿ“– Research Context

This VR table tennis implementation was developed as part of our research on:

  • Haptic Feedback Systems in virtual sports environments
  • Physics Simulation Accuracy in VR gaming
  • User Experience Design for immersive VR applications
  • Performance Optimization for standalone VR devices

Citation

If you reference this work in your research, please cite our paper:

@article{tabletennis_vr_2025,
  title={Advanced Physics Simulation and Haptic Feedback in Virtual Reality Table Tennis},
  author={Nguyen Le Tat Phu and Doan Cat Phu},
  journal={Q1 VR Journal},
  year={2025},
  note={In Press}
}

๐Ÿค Academic Collaboration

We welcome collaboration from fellow researchers! For academic inquiries:

  1. Fork the repository for research purposes
  2. Create your research branch (git checkout -b research/YourStudy)
  3. Document your modifications and findings
  4. Share results with the academic community

Note: All academic use must be properly cited and attributed.

๐Ÿ“Š Roadmap

Phase 1: Core Features โœ…

  • Basic paddle mechanics
  • Ball physics simulation
  • Single-player mode
  • Basic UI implementation

Phase 2: Enhanced Experience ๐Ÿšง

  • Multiplayer support
  • Advanced AI opponents
  • Achievement system
  • Social features

Phase 3: Advanced Features ๐Ÿ“‹

  • Hand tracking support
  • Spectator mode
  • Replay system
  • Analytics dashboard

๐Ÿ› Known Issues

  • Occasional tracking drift during intense gameplay
  • Minor audio delay in some environments
  • Performance optimization needed for complex scenes

๐Ÿ† Research Recognition

  • Meta Quest Store: Featured Application

๐Ÿ“ž Academic Support

๐Ÿ“„ License

This project is licensed under Academic Research License - see the LICENSE file for details.

IMPORTANT: This code is provided for academic research purposes only. Commercial use, redistribution, or derivative works are strictly prohibited without explicit written permission from the research team.

๐Ÿ‘ฅ Research Team


Nguyen Le Tat Phu
Lead Developer & VR Specialist

Doan Cat Phu
Game Designer

๐ŸŽ“ Academic Research Project - Q1 VR Journal Publication ๐ŸŽ“

Research Paper GitHub Release


Built with โค๏ธ for the VR research community | For Academic Use Only

About

An immersive virtual reality table tennis experience for Meta Quest devices

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •