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.

Rigidbodies

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 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.