Reader small image

You're reading from  Unity 2020 Virtual Reality Projects - Third Edition

Product typeBook
Published inJul 2020
Reading LevelBeginner
PublisherPackt
ISBN-139781839217333
Edition3rd Edition
Languages
Tools
Right arrow
Author (1)
Jonathan Linowes
Jonathan Linowes
author image
Jonathan Linowes

Jonathan Linowes is a VR/AR enthusiast, Unity, and full stack developer, entrepreneur, certified Unity instructor, and the owner of Parkerhill XR Studio, an immersive media, applications, and game developer. Jonathan has a bachelor of fine arts degree from Syracuse University, a master of science degree from the MIT Media Lab, and has held technical leadership positions at Autodesk and other companies. He has authored multiple books on VR and AR published by Packt Publishing.
Read more about Jonathan Linowes

Right arrow

Building a Paddleball game

To build a paddle ball game that lets you use hand-controlled paddles for hitting the ball, we'll make simple game paddles from geometric primitives, parented by the hand controllers in your player rig. Let's serve the balls a little further out in front of you so that they're not dropping directly on top of your head, which is more reachable. To set up the scene, use the following steps to build upon the previous one, moving the drop point and limiting serves to one ball at a time:

  1. You can save the current scene with a new name, Scene-09-Paddleball , by clicking File | Save As
  2. Disable or delete the headCubewe previously added as a child of theMain Camera, if present
  3. Modify the Drop Point forward and to the side at Position (0.6, 10, 0.6)
  4. Modify the Ball Game Controllerto serve only one ball at a time. A quick way to do this is to limit theObject Poolerto size one. Set Ball Game Controller...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Unity 2020 Virtual Reality Projects - Third Edition
Published in: Jul 2020Publisher: PacktISBN-13: 9781839217333

Author (1)

author image
Jonathan Linowes

Jonathan Linowes is a VR/AR enthusiast, Unity, and full stack developer, entrepreneur, certified Unity instructor, and the owner of Parkerhill XR Studio, an immersive media, applications, and game developer. Jonathan has a bachelor of fine arts degree from Syracuse University, a master of science degree from the MIT Media Lab, and has held technical leadership positions at Autodesk and other companies. He has authored multiple books on VR and AR published by Packt Publishing.
Read more about Jonathan Linowes