Homework
As in every chapter, here are some exercises that you can use to practice your skills:
The forgotten rigidbody: Sometimes components in the Inspector could be forgotten. However, we can facilitate the process by creating warnings in the code. For both our Panda and the sprinkles, create within their scripts a check, when the game object is initialized, to add a Rigidbody2D component, if missing, and set it to be Kinematic. Additionally, you can print a warning message (See Chapter 8, What Is beyond the Cake?, for more about debugging messages).
Passion for acceleration: In the chapter, we saw how we could implement motion equations for our Kinematic rigidbodies. In particular, the chapter shown an implementation of the velocity equation. Now, try to implement the acceleration equation for a Kinematic rigidbody.
Joint Master: For each one of the joints that Unity offers, think about a possible usage and example (possibly different from the ones already presented in the chapter). Then...