Nick Steyer c436e6f69b Add ZED examples 2 роки тому
..
Materials c436e6f69b Add ZED examples 2 роки тому
Prefabs c436e6f69b Add ZED examples 2 роки тому
Resources c436e6f69b Add ZED examples 2 роки тому
Scene c436e6f69b Add ZED examples 2 роки тому
Scripts c436e6f69b Add ZED examples 2 роки тому
Sound c436e6f69b Add ZED examples 2 роки тому
Textures c436e6f69b Add ZED examples 2 роки тому
Materials.meta c436e6f69b Add ZED examples 2 роки тому
Prefabs.meta c436e6f69b Add ZED examples 2 роки тому
Readme.txt c436e6f69b Add ZED examples 2 роки тому
Readme.txt.meta c436e6f69b Add ZED examples 2 роки тому
Resources.meta c436e6f69b Add ZED examples 2 роки тому
Scene.meta c436e6f69b Add ZED examples 2 роки тому
Scripts.meta c436e6f69b Add ZED examples 2 роки тому
Sound.meta c436e6f69b Add ZED examples 2 роки тому
Textures.meta c436e6f69b Add ZED examples 2 роки тому

Readme.txt

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.