/ELIMINATING-FEAR-OF-HEIGHTS-IN-VIRTUAL-REALITY

Eliminating Fear of Heights Using Virtual Reality is a transformative project immersing individuals in a simulated construction site, aiding workers in overcoming acrophobia by gradual exposure to height-related tasks, fostering confidence and safety in elevated workplaces.

Primary LanguageC#

ELIMINATING FEAR OF HEIGHTS USING VIRTUAL REALITY


ELIMINATING FEAR OF HEIGHTS USING VIRTUAL REALITY is a virtual reality project developed to eliminate fear of heights especially for workers working in higher grounds.In this virtual world you'll act as a construction worker working in a construction site where you need to perform simple tasks.


Cloning the Repository

To clone this repository to your local machine, follow these steps:

For Windows:

To clone this repository and import the project using Git and Unity Hub, follow these steps:

  1. Open Command Prompt.

  2. Change the current working directory to the location where you want to clone the repository.

  3. Execute the following command to clone the repository:

    git clone https://github.com/HAREESHRAVI/ELIMINATING-FEAR-OF-HEIGHTS-IN-VIRTUAL-REALITY
  4. Open Unity Hub and navigate to the "Projects" tab.

  5. Click on "Add" to add an existing project.

  6. Select the folder where you cloned the repository.

  7. Unity Hub will detect and import the project.

For Linux and macOS:

To clone this repository and import the project using Git and Unity Hub, follow these steps:

  1. Open your terminal.

  2. Change the current working directory to the location where you want to clone the repository.

  3. Execute the following command to clone the repository:

    git clone https://github.com/HAREESHRAVI/ELIMINATING-FEAR-OF-HEIGHTS-IN-VIRTUAL-REALITY
  4. Open Unity Hub and navigate to the "Projects" tab.

  5. Click on "Add" to add an existing project.

  6. Select the folder where you cloned the repository.

  7. Unity Hub will detect and import the project.


Opening the Project in Unity

  1. Open the Unity Editor once the cloning process is complete.

  2. In Unity Hub, navigate to the "Projects" tab and select the cloned repository.

  3. Wait for Unity to import the project files.

  4. If prompted, follow any instructions to upgrade the project to match your Unity Editor's version.


Compatibility

This project has been developed with platform-agnostic design and is not tailored to any specific VR headset. It aims to be compatible and adaptable to various VR devices and platforms.

Supported VR Headsets :

-HTC Vive

-Apple Vision Pro

-Oculus Rift

-Valve Index

-Windows Mixed Reality headsets

-PlayStation VR

-Pimax VR headsets

-HP Reverb G2

-Samsung Odyssey

-Oculus Quest (with link cable or compatible software)

-Meta Quest (formerly Oculus Quest)

Note to Users:

  • This project provides a framework that can be configured to work with different VR devices.

  • Users may need to adjust settings or configurations based on their VR headset specifications or input methods.

  • According to the specific headset and controllers map the keys in the inspector window

  • For specific setup instructions related to your VR headset, refer to the respective documentation or resources provided by the headset manufacturer.


Controls without headset:

For users without a VR headset, the project can be navigated using standard keyboard and mouse controls. The following are the controls:

Shift button represents left hand controller and spacebar represents right hand controller holding both of the buttons simuntaneously controls both controllers

  • Move around (head) => holding right mouse click + mouse movement

  • Moving front and back (head) => holding right mouse click + scroll movement (mouse)

  • Rotate around (head) => holding right mouse click + holding scroll click (mouse)

  • Reset position (head) => V key

  • Left controller control (hand movement) => holding shift + mouse movement

  • Left controller control (wrist rotation) => holding shift + holding scroll button (mouse)

  • Left controller reset => shift + V

  • Left controller grab interaction => holding shift + G key

  • Left side turn => holding shift + A key

  • Right controller control (hand movement) => holding spacebar + mouse movement

  • Right controller control (wrist rotation) => holding spacebart + holding scroll button (mouse)

  • Right controller reset => spacebar + V

  • Right controller grab interaction => holding spacebar + G key

  • Right side turn => holding spacebar + D key

  • Teleportation => point towards where you want to teleport hold shift or spacebar + B key

To find more controls follow the path in Unity software : Window -> Analysis -> Input Debugger -> Settings -> any option staring with XR shows the appropriate controls


Working with the Project

Once the project is imported, you can start working on it within the Unity Editor. Remember to commit and push your changes to this repository when you're done.


Additional Notes:

  • Ensure you have the necessary Unity version installed for compatibility.

  • Default version: Unity 2021.3.21f1

  • Sometimes, Unity might prompt you to upgrade the project to a newer version if the Unity versions differ between your local machine and the project

  • Follow the prompts to upgrade the project if needed.


After importing the project drag and drop the environment folder into your scene window. Following these steps should allow you to successfully import Unity projects from GitHub into your local Unity environment for development and collaboration.