Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
HoloLens Beginner???s Guide

You're reading from   HoloLens Beginner???s Guide Join the AR revolution with HoloLens

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781786464729
Length 376 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jason M. Odom Jason M. Odom
Author Profile Icon Jason M. Odom
Jason M. Odom
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface Welcome to the New World FREE CHAPTER HoloWorld I am in Control User-Friendly Interface Now That Is How It Should Sound Not So Blank Spaces The Tools of the Trade Share What You Have Got Putting It All Together Fixing Problems

The home stretch


For the final part of this chapter, we will set up our PlaceSkeeBallMachine class, which will allow us to airtap the collider of the Skeeball machine. It will then move with our view until we find a good spot for it; airtap again and everything start from the beginning.

I have included a copy of the PlaceSkeeBallMachine script file in the Chapter6Downloads.Zip file. This is a heavily modified version of the TapToPlace script that comes with the HoloToolkit. Of course, as usual I recommend that you type it out. Now, let me add you do not have to type all the comments unless you want to. I recommend that you put in comments that help you keep up with how it works, in your head. Normally, comments are designed for people who already know how to write code, not people learning to code. Jargon, while useful for the future, can take some time wrapping your head around, and therefore it slows down the learning process. Word it how it makes sense to you.

Now, we will attach the script...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime