Chapter 5. Getting Around – Pathfinding and AI

In the previous chapter, we learned about camera and lighting effects. We added a skybox, lights, and shadows to our Tank Battle game. We created lightmaps to make our scene dynamic. We took a look at cookies by giving our tank headlights. We also took a look at projectors by creating a blob shadow for the tank. A turbo boost was also created for the tank. By adjusting the viewing angle of the camera, we were able to make the tank look as if it is going much faster than it really is. When we finished, we had a dynamic and exciting-looking scene.

This chapter is all about the enemy. No longer will the player be able to just sit in one place to gather points. We will be adding an enemy tank to the ...

Get Unity Android Game Development by Example Beginner's Guide 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.