Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Add Cursor,Directional indicator,Navigation and Manipulation Input

Discussion in 'VR' started by lycheeyy, Feb 4, 2017.

  1. lycheeyy

    lycheeyy

    Joined:
    Nov 14, 2016
    Posts:
    4
    Hello,
    I'm very new in unity, I just got the HoloLens. It’s amazing!! I already impoted holotoolkit(1.5.5.0) to assets folder. And I’m following the academy tutorial. Everything is alright and I can get the same effect like in the tutorial with the files that provided in the beginning of the tutorial. But when I created my new project, I got confused. As follow the tutorial as before, I cannot find a lot of assets inside the holotoolkit, like”Cursor Manager”script,”Directional Indicator”asset “Gesture Manager”,”Gesture Action”,etc. And when I try to import the missing staff from the files of academy tutorial, there’s always some error. So what is my problem and how to add Cursor,Directional indicator,Navigation and Manipulation Input to a new project?
    Thanks a lot!!!
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Hello,

    It is hard to know what the error is without a screen shot or the error spew from the console log. It sounds like you are missing parts of the holotool kit when you try to import it into a new project. Have you tried importing a fresh download of the assets and importing that folder?
     
  3. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
  4. lycheeyy

    lycheeyy

    Joined:
    Nov 14, 2016
    Posts:
    4
    Thank you, Wesley, for replying me. Now I figured out the latest holotoolkit is very different from the acedemy files, for example, there's no "cursor manager""gesture manager"in the latest holotoolkit. So I want to know, after finish the acedemy tutorial, how can I develop my own project. My task is very basic and simple, I got a solidworks assembly, the effect what I need is, I can see the assembly hologram and interact with it, like move, rotate, explode the parts, etc in my hololens. Just like the effect in academy 210 and 211:”Interactible(choose different parts of assembly)”,”Navigation(rotate assembly in every direction)”,”Manipulation(move assembly)”,”Model expansion(expand the parts of assembly)”.
    Thank you again!
     
  5. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    It sounds like this is a new area for you to explore, I would suggest starting a small prototype and working up from there.

    Maybe start with getting a prefab setup for your camera and building some basic scripts for how you want the controls to work.

    Starting with a simple test using cubes and other objects should help you prototype out your project.

    https://forums.hololens.com/discussions/tagged/tutorial/p1

    This might help
    https://developer.microsoft.com/en-us/windows/holographic/holograms_101e

    Let us know if you have questions or needs tips on anything
     
  6. lycheeyy

    lycheeyy

    Joined:
    Nov 14, 2016
    Posts:
    4
    Hello,Wesley
    Yes, I'm very very new in Unity and Hololens. I already finished all the academy tutorials, with copy/paste the C# script. Do I need to write a new script to do the simple”Navigation(rotate assembly in every direction)”,”Manipulation(move assembly)”,”Model expansion(expand the parts of assembly)”? I thought it maybe some script in the Holotoolkit I can directly use.
     
  7. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    It usually helps to write your own scripts so you have an idea of how the system will work. Hololens Tool kit is very large project from Microsoft and should have the basic gesture scripts you need. I would look for anything in the scripts that has a gesture recognizer in it and start from there.