Search Unity

Object Look At "mouse" only on X Z

Discussion in 'Scripting' started by Dj Andry, Aug 28, 2012.

  1. Dj Andry

    Dj Andry

    Joined:
    Aug 28, 2012
    Posts:
    15
    how to apply to an object the "Look At Mouse" only on the X and Z axes?
    how i can do it?
    Please help me!
     
  2. Yanger Xiaoying2

    Yanger Xiaoying2

    Joined:
    Aug 26, 2012
    Posts:
    2
    You can take a look at the "Mouse Look" script shipped with Unity.