O'Reilly logo

Unity 3 Game Development HOTSHOT by Jate Wittayabundit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Are you ready to go gung ho? A Hotshot challenge

Now we know how to create a custom character control script, camera, and animation from our custom script. Even though our custom script works great with this character, it still has a lot of things that we can improve to make our script much more flexible. Let's do something to make our script better, and much more flexible. Give the following ideas a try:

  • Add your own character with a different animation, even if the character has more than five animation clips
  • Use a different method to make the camera not follow the character when our character jumps (or basically just rotate the camera)
  • Change some parameters such as distance or height in the CharacterCamera script to see how the game will look ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required