SDK Test Scene

The test.unity scene in VZ/Scenes can be the starting point for any game.

It contains:

  1. A plane with a simple texture and mesh collider

  2. The VZPlayer.prefab (just the VZPlayer component, a rigidbody, an interactive model of our bike, and a HUD with input state)

  3. The directional light and camera that Unity makes in any new scene

To try it in Unity,

  1. Open test.unity and hit Play

  2. Get on the bike, put on your VR headset, and hold the L and R triggers to calibrate

  3. Pedal to move forward, lean to turn

To make this into your game, replace the model of our bike with your own avatar, our HUD with your game HUD, and our plane with your terrain!

Tweak the parameters of VZPlayer to make your avatar move the way you want. You can subclass VZPlayer to override and extend its functions, like to add lift force as a function of Controller.InputSpeed, which is how our Pegasus flies.

We can add such examples to this scene at everyone's request.