Chapter 10Physics and Scripting

Chapter 9 explored various 3D objects available in Unity. In this chapter, you’ll learn how to turn those objects into elements that can interact with each other. The Unity physics engine—built on top of Nvidia PhysX—governs the interaction of elements. With the Unity game engine, all game objects move and collide realistically. Without realizing it, you used the Unity physics engine in Chapter 9 to create a ragdoll.

In this chapter, you will investigate how to put 3D objects under the control of the physics engine using Rigidbody components. After that, you will learn how to create colliders so rigid bodies can obstruct each other. Then, you’ll use the Physic Material to create bouncy rigid bodies. You’ll also ...

Get Programming for Mixed Reality with Windows 10, Unity, Vuforia and UrhoSharp, First 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.