1. Open Asset Store and download "iTween"
2. Open Unity, create new project and make sure you import "iTween" on the checkbox
3. GameObject->Create Other -> Plane, set x,y,z to 0,-0.5,0
4. GameObject->Create Other -> Cube, set x,y,z to 0, 0, 0
5. GameObject-> Create Other -> Point Light , set x, y, z to 0, 2, 0
6. Drag the RotateSample or MoveSample to your Cube(under iTween-> Sample on bottom middle)
7. Click play and see your rube now rotating non stop
Thats it, you can move your cube anyway you want, for other list of stuff you can do, just follow the documentation here
No comments:
Post a Comment