Book Image

HoloLens Beginner's Guide

By : Jason M. Odom
Book Image

HoloLens Beginner's Guide

By: Jason M. Odom

Overview of this book

HoloLens revolutionizes the way we work and interact with the virtual world. HoloLens brings you the amazing world of augmented reality and provides an opportunity to explore it like never before. This is the best book for developers who want to start creating interactive and intuitive augmented reality apps for the HoloLens platform. You will start with a walkthrough of the HoloLens hardware before creating your first app. Next you will be introduced to the various HoloLens sensors and find out how to program them efficiently so that they can interact with the real world seamlessly. Moving on, you will learn how to create smart animations and add video overlay that implements real-time tracking and motion-sensing abilities to your HoloLens app. Finally, you will learn how to test your app effectively.
Table of Contents (18 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface

Physics simulations


In this section, you will learn what Unity has to offer in terms of a physics engine.

Also known as physics simulations, these engines have been an integral part of 3D and game engines for some time, but rarely are they as easy to get into as with Unity.

A physics engine is a basic physics simulation that allows the developer to add physical properties to GameObjects, such as weight, gravity, bounce, and other factors that allow these GameObjects to act and react in different ways:

  1. Select the Hello object in the Hierarchy panel.
  2. Click on the Add Component button in the TextMesh component in the Inspector panel.
  1. Click on the Physics category:
  1. Then, select Rigidbody:
  1. Now, repeat steps 1, 2 and 3.
  2. Select Box Collider.
  3. Now, the first word is finished; we need to repeat steps 1-6 for the World object.

The Rigidbody is a component that lets Unity apply physics to an object. You can change many of the ways the object reacts to the physical changes.

The Box Collider allows the object it...