Rotate an Object Using the Mouse

Channel:
Subscribers:
38,200
Published on ● Video Link: https://www.youtube.com/watch?v=ypSkxGRY218



Duration: 8:52
27,527 views
71


A brief tutorial (including a short script, which I've linked to below) explaining how to rotate an object in Unity3D. There's plenty of ways to rotate an object, but the method I used in the video was selected to break it down into piecemeal steps so anyone new to programming reading the code has a better chance of understanding what's going on if they tinker with it.

The script used to rotate an object:
http://pastebin.com/TYXsRL5t







Tags:
rotate object
unity3d
mouse rotation