Shooter ball game

For the next iteration of this project, we'll shoot balls at the player and you have to hit them at a target on a wall. There's not a lot of innovation in this version, but it shows how you can take an existing mechanic and turn it on its side (both literally and figuratively).

To begin, lets make a wall and put the target on it:

  1. In the Hierarchy root, create an Empty game object named TargetWall and
  2. Position it at (0, 0, 5)
  3. Create a child Cube and name it Wall
  4. Set the Wall Scale to (10, 5, 0.1) and Position (0, 2.5, 0)
  5. Create a new Material named Wall Material
  6. Set its Rendering Mode to Transparent, and its Albedo color to (85, 60, 20, 75) so it's a translucent glassy color
  7. Move the Target to a child of TargetWall
  8. Modify ...

Get Unity Virtual Reality Projects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.