Hour 10. Collision

What You’ll Learn in This Hour:

• The basics of rigidbodies

• How to use colliders

• How to script with triggers

• How to raycast

This hour you are going to learn to work with the most prevalent physics concept in video games: collision. Collision, simply put, is knowing when the border of one object has come in contact with another object. You will begin by learning what rigidbodies are and what they can do for you. After that, you will experiment with Unity’s powerful built in physics engine by colliding objects together. From there, you will learn the more subtle uses of collision with triggers. You will end the hour by learning to raycast.


In order for objects to take advantage of Unity’s built in physics ...

Get Unity Game Development in 24 Hours, Sams Teach Yourself® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.