14
Racing Game
In this chapter, we will be building out a racing game (Figure 14.1) and it will have almost everything a no-nonsense racer might need – AI opponents, a respawning system, wrong way detection, and modern video game car physics using Unity’s Wheel Colliders for suspension and car control.
The focus for this chapter is on the scripts, which means it will not be the same step by step tutorial format used in Chapter 2 for the RunMan example. There may be some work on the Unity side that will not be covered. You are expected to open up the example project and use this chapter as a guide to find out how it all works, but there will be full script breakdowns and enough information for you to be able to make your own game – this is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access