Skip to main content

Let’s Dance! Animation and Sound

  • Chapter
  • First Online:
Learn Unity 4 for iOS Game Development
  • 1228 Accesses

Abstract

Of the three ways to move GameObjects in Unity, scripted control of the Transform Component was covered in the previous chapter, and physics will play a significant role in the bowling game example initiated in the next chapter. Scripted movement is ubiquitous. For example, even in the upcoming bowling game, which relies heavily on physics to control and simulate the bowling ball and its collision with the floor and bowling pins, the Camera following behavior is implemented by a script that modifies its Transform Component (much like the MouseOrbit script used in the cube scene). Not only that, every moving GameObject is reset between rolls and frames by restoring the values in its Transform Component.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Philip Chu

About this chapter

Cite this chapter

Chu, P. (2013). Let’s Dance! Animation and Sound. In: Learn Unity 4 for iOS Game Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4876-7_5

Download citation

Publish with us

Policies and ethics