Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The test.unity scene in VZ/Scenes is as basic as it gets:

  1. A plane with a simple texture and mesh collider

  2. The VZPlayer.prefab (just the VZPlayer component, and rigidbody, and a sphere for an avatar)

  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

Obviously you can do a lot more--all of our games are based on the same VZPlayer. Don't just limit yourself to tweaking its parameters, 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.


  • No labels