Using the Rotate() function to animate an object

In this recipe, we will use the Transform.Rotate() function to create an infinite looping animation of a windmill. We could make the same with the Animation View, but sometimes writing a simple script means much less effort than creating a key frame animation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.27.131