O'Reilly logo

How to Cheat in Unity 5 by Alan Thorn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9

Physics, Collisions, and Pathfinding

Games are interactive in an immediate and direct sense: the player provides input, the game responds to input, and the player responds to the game’s responses, and so on. Part of this interactivity consists in creating believable experiences. And physics, collision detection, and pathfinding are some ingredients critical to creating believability. “Physics” is a general term, referring to many Unity features for simulating physical forces affecting the motion of GameObjects. “Collision” refers here to a smaller subset of physics features dedicated to detecting when two objects or entities collide. And finally, “pathfinding” means the ability for objects, like enemy characters, to navigate their way around ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required