How it works: Planetarium Demo
Required:
ZED_Rig_Stereo prefab.
Or
VR Hmd with 2 Controllers (Oculus or Vive).
How to use:
Either use the keyboard with the following keys:
W & S : Moving Up & Down
A & D : Moving Left & Right
Up & Down Arrows : Moving Back & Forword
Left & Right Arrows : Rotating Left & Right
Mouse Left & Right Click : Scaling Up & Down
Or use VR Controllers:
Left Controller Touch-Pad: Moving Forward, Backwards, Left & Right.
Right Controller Touch-Pad: Moving Up and Down, & Rotating Left & Right.
Left Controller Trigger Button: Scale Up.
Right Controller Trigger Button: Scale Down.
The Script TransformController.cs has a checkbox "VR Controls" for enabling the controls for the VR Controllers.
It also detects automatically if there are any controller connected and sets itselfs true or false.
///////////////////////////////////////////////////
......................................................
This demo let's you have a look at a 3D representation of our solar system.
(Not at the Actual Scale)
The script TransformController.cs handles the movement of any object it is attributed to.
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.
It can Move it on its axis, Rotate on the Y axis, and Scale uniformly.