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.