Making an Object Look at the Mouse

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



Duration: 29:00
8,240 views
32


This video tutorial covers a simple script (and mentions a slightly more complex, robust one) that lets you make a 3D object look at where the mouse appears to be on screen.

Look At Mouse Simple:
http://pastebin.com/tSPDmUdf

Look At Mouse:
http://pastebin.com/VzWXpVQ5







Tags:
Unity3D
animation
scripting
mesh
look at mouse