Автор: Kelvin Sung, Gregory Smith
Издательство: Apress
Год: 2019
Формат: true pdf/epub
Страниц: 403
Размер: 11.8 Mb
Язык: English
Use Unity-based examples to understand fundamental mathematical concepts and see how they are applied when building modern video game functionality. You will gain the theoretical foundation you need, and you will know how to examine and modify an implementation.
This book covers points in a 3D Cartesian coordinate system, and then discusses vectors and the details of dot and cross products. Basic mathematical foundations are illustrated through Unity-based example implementations. Also provided are examples showing how the concepts are applied when implementing video game functionality, such as collision support, motion simulations, autonomous behaviors, shadow approximations, and reflection off arbitrary walls.
Throughout this book, you learn and examine the concepts and their applications in a game engine.
What You Will Learn
Understand the basic concepts of points and vectors and their applications in game development
Apply mathematical concepts to modern video game functionality, such as spherical and box colliders
Implement autonomous behaviors, including following way points, facing a target, chasing an object, etc.