Chapter 29: Prototype 2: Mission Demolition
Physics games are some of the most popular around, making games like Angry Birds household names. In this chapter, you make your own physics game that is inspired by Angry Birds and all the physics games, such as the board game Crossbows and Catapults, that came before it.
This chapter covers the following: physics, collision, mouse interaction, levels, and game state management.
Unity 2018.2.2 – Camera.main Bug
- In Unity 2018.2.2, sometimes when creating a Camera, the tag of the Camera is set to “Untagged” instead of “MainCamera”. As a result, any references to Camera.main will cause Null Reference Exceptions.
- To remedy this, all you need to do is set the tag of the Main Camera to MainCamera.