Object Rotation Script
Published on Wednesday, October 16, 2013,18:40:49 in Mobile
ObjectRotation Script. Script implements 3d rotations with different speed and directions. Also possible to set random rotation. Just add this script to your object(s) and set parameters. Script has input parameters(see image preview and webplayer): RotateX – enable/disable x rotation RotateY – enable/disable y rotation RotateZ – enable/disable z rotation ClockwiseX – set clockwise or counterclockwise direction ClockwiseY – set clockwise or counterclockwise direction ClockwiseZ – set clockwise or counterclockwise direction RotationSpeedX – set x-axis rotation speed RotationSpeedX – set y-axis rotation speed RotationSpeedX – set z-axis rotation speed RandomRotation – enable/disable random rotation Time – time for changing random rotation Package contains demonstration scene. The script is written in C# and commented.
You May Also Like
Catch Colors - Admob + Leaderboard...
Lost In Gravitation (and mobile)