Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 2.07 KB

README.md

File metadata and controls

37 lines (34 loc) · 2.07 KB

VR-EMG-Multiplayer-Unity

This project was developed with Unity3D 2021.3.6f1 and set to basic 3D-usage by default
Run Assets/Scenes/SampleScene.unity to test
Detailed description and video about this demo please check https://www.artstation.com/artwork/1xw9O3

For VR-EMG-usage

Currently 3 player skills can be only released in VR environment, as well as 3 moving circles.

Required Software

  1. SteamVR

Required Hardware

  1. HTC Vive
  2. EMG device. reference from https://labstreaminglayer.readthedocs.io/info/supported_devices.html

LSL Framework for Unity (already inculded in this project)

https://github.com/labstreaminglayer/LSL4Unity

In Unity Editor

image
Open Assets/Scenes/SampleScene.unity
Show SteamVRObjects and hide NoSteamVRFallbackObjects

For Basic 3D-usage

For testing this demo without VR environment and EMG device, I added damage image and gameover UI animation for basic 3D scene based on canvas, and a hand model follows the mouse. You can make a quick punch by clicking the space key.

In Unity Editor

image
Show NoSteamVRFallbackObjects and hide SteamVRObjects

image
Make sure the following variables of PlayerController under game object Player are from NoSteamVRFallbackObjects:
HP_Player
HP_Text
Damage_Image
Gameover Cube

To-Do List

To provide an entire single player version for testing without VR and EMG device:

  1. Animate the punch with 2 hand models.
  2. Change the UIs of health bar for zombies and player.
  3. Add 3 player skills, and 3 moving circles on the right hand model get hide during skill cool down.
  4. Add Opening animation with game introduction and a menu