Guides
Guides
These docs are for v2.2.1. Click to read the latest docs for v3.3.0.

VRTK_Simulator

Overview

To test a scene it is often necessary to use the headset to move to a location. This increases turn-around times and can become cumbersome. The simulator allows navigating through the scene using the keyboard instead, without the need to put on the headset. One can then move around (also through walls) while looking at the monitor and still use the controllers to interact.

The Simulator script is attached to the [CameraRig] prefab. Supported movements are: forward, backward, strafe left, strafe right, turn left, turn right, up, down.

Inspector Parameters

  • Keys: Per default the keys on the left-hand side of the keyboard are used (WASD). They can be individually set as needed. The reset key brings the camera to its initial location.
  • Only In Editor: Typically the simulator should be turned off when not testing anymore. This option will do this automatically when outside the editor.
  • Step Size: Depending on the scale of the world the step size can be defined to increase or decrease movement speed.
  • Cam Start: An optional game object marking the position and rotation at which the camera should be initially placed.