Time for action – creating the slingshot

Most of the slingshot's appearance will actually be an optical illusion:

  1. To start off the creation of the slingshot, add the slingshot model to the scene and position it at the origin. Apply a light brown material to the Fork model and a dark brown one to the Pouch model.
  2. Next, we need four empty GameObject. Make them all the children of the Slingshot object.
    • Name the first FocalPoint and center it between the fork prongs of the slingshot. This will be the point through which we fire all of the birds.
    • The second is Pouch. Make the pouch model a child of this object, setting its position to 0.5 on the X axis and 0 on the Y and Z axes. This will make the pouch appear in front of the current bird without having ...

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.