- Home /
 
Looking at the mouse cursor...
Hello. If I have an object, in the center of the screen (its not an FPS/TPS, the object does not move), how can I have that object look at the mouse cursor (as if the mouse cursor was an object)? Thanks
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by GesterX · May 05, 2011 at 07:47 AM
Look at the accepted answer in this question:
http://answers.unity3d.com/questions/28149/need-help-with-making-player-look-at-mouse
It pretty much gives you the code you need.
Your answer
 
             Follow this Question
Related Questions
Make player look at pointed target 1 Answer
Look at mouse cursor without flipping 1 Answer
Lookat, FromToRotation and LookRotation? 3 Answers
How can I get local 2d Velocity? 2 Answers
Quad Object needs to look at character rotating one Axis 0 Answers