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

Get How to Cheat in Unity 5 now with the O’Reilly learning platform.

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