Readme.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. How it works: Movie Screen Demo
  2. Required:
  3. ZED_Rig_Stereo prefab.
  4. or
  5. VR Hmd with 2 Controllers (Oculus or Vive).
  6. How to use:
  7. Either use the keyboard with the following keys:
  8. W & S: Moving Forward & Backward
  9. A & D: Moving Left & Right
  10. R & F: Moving Up & Down
  11. Up & Down Arrows: Moving Back & Forword
  12. Left & Right Arrows: Rotating Left & Right
  13. Mouse Left & Right Click: Scaling Up & Down
  14. Or use VR Controllers: (Must have Oculus Integration or SteamVR plugin installed)
  15. Left Controller Touch-Pad: Moving Forward, Backwards, Left & Right.
  16. Right Controller Touch-Pad: Moving Up and Down, & Rotating Left & Right.
  17. Left Controller Trigger Button: Scale Up.
  18. Right Controller Trigger Button: Scale Down.
  19. The Script TransformController.cs has a checkbox "VR Controls" for enabling the controls for the VR Controllers.
  20. It also detects automatically if there are any controller connected and sets itselfs true or false.
  21. ///////////////////////////////////////////////////
  22. ......................................................
  23. We are using Unity's Video Player to play videos.
  24. This component accepts video files within the project, web or local PC URL (link / path) towards the video source.
  25. A Light appears behind the Movie Screen when its being moved around.
  26. ......................................................
  27. The script TransformController.cs handles the movement of any object it is attributed to.
  28. It takes the Input form either your PC Keyboard, or your VR Controllers (Oculus or Vive), and applies it to the Object's Transform component.
  29. It can Move it on its axis, Rotate on the Y axis, and Scale uniformly.