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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-4876-7_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4875-0
Online ISBN: 978-1-4302-4876-7
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)