O'Reilly logo

Virtual Reality Blueprints by John Williamson, Charles Palmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the player avatar

Virtual reality applications provide a first-person view for the player. Because interaction is so important, Oculus also provides tools for visualizing the user's hands and the torsos of other players in multiplayer or social media titles. In these steps, we will add the OVRPlayerController prefab. This item contains a camera, tracking tools, and scripts for managing interactions:

  1. Locate the OVRPlayerController in the Project window under OVR | Prefabs. Drag this prefab into the Hierarchy window and set its position to (0, 1.8, -8).
  2. Expose the OVRPlayerController to reveal the OVRCameraRig/TrackingSpace. Drag the LocalAvatar from OvrAvatar/Content/Prefabs into TrackingSpace.
  3. Select the LocalAvatar GameObject and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required