Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Making Object rotate with Daydream Controller

Discussion in 'Daydream' started by jdsaesan, Oct 27, 2018.

  1. jdsaesan

    jdsaesan

    Joined:
    Oct 17, 2018
    Posts:
    1
    I'm a hard noob, making a game with my son just for fun. But hoping someone can help us out.

    I need to make an object (lets say a cube) that rotates to match the orientation of the Daydream controller. It doesn't need to swing in any fashion, just rotate around its center, but to the same orientation as the controller. What would my script need to look like to call to the orientation of the controller? I tried to have it link to the orientation of the visual controller but that does not give me the desired effect at all. Hope you can help me script that out properly, cheers!