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.