Search Unity

Rotate object

Discussion in 'Daydream' started by ososmam, Oct 27, 2016.

  1. ososmam

    ososmam

    Joined:
    Oct 27, 2016
    Posts:
    3
    how to rotate an object with camera (head) rotation in y-axis and camera track the position of this object ?

    i tried to make the camera a child to this object but with no luck
     
  2. Tuitive

    Tuitive

    Joined:
    Mar 25, 2013
    Posts:
    36
    Just make your object a child of the camera and then continually apply the camera's world rotation to the object's local rotation.