Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

VRTK Steam Vr-Toolkit

Discussion in 'AR/VR (XR) Discussion' started by speaker13, Aug 11, 2016.

  1. speaker13

    speaker13

    Joined:
    Jun 24, 2016
    Posts:
    17
    Hello I am very new to program so do not be too tough on me. I am trying to teleport and do some other things.
    I downloaded the Steam Vr-Toolkit. I am using unity 5.4 I was trying to attach the scripts to the camerarig. Is not working. I saw that is was upload with Unity 5.3 Does with work with 5.4 or is there something I need to do thanks.
     
  2. dotcommer

    dotcommer

    Joined:
    Jun 4, 2015
    Posts:
    8
    It definitely works in 5.4. You may be missing a script or two to get the functionality you're using to work.

    For teleporting, you need the teleport script applied to the camera rig, and you need at least one of your controllers to have the controller events script and the type of pointer script you'd like to use (bezier or simple pointer). I usually go with the heightadjust teleport script for the steamVR camera rig and a parabolic (bezier) pointer.

    Don't forget there are a ton of sample scenes in there you can open up and see how they work!
     
  3. dienat

    dienat

    Joined:
    May 27, 2016
    Posts:
    417
    It gives the error `SteamVR_Utils' does not contain a definition for `Event' with the recent steamvr update
     
  4. AR_Rizvi

    AR_Rizvi

    Joined:
    Aug 12, 2013
    Posts:
    40
    Hi
    I have a question
    Can i Have a Bezier and simple pointer on same controller with different button events
    if Yes then how
    as i have to move and interact with a single controller
    thanks
     
  5. wirelessdreamer

    wirelessdreamer

    Joined:
    Apr 13, 2016
    Posts:
    134
  6. EddieChristian

    EddieChristian

    Joined:
    Oct 9, 2012
    Posts:
    725
    I am Getting this error:

    Code (CSharp):
    1. Cannot set VR devices because the platform passed isn't supported by Unity.
    2. UnityEditorInternal.VR.VREditor:SetVREnabledDevicesOnTargetGroup(BuildTargetGroup, String[])
    3. VRTK.VRTK_SDKManager:ManageVRSettings(Boolean) (at Assets/VRTK/Scripts/Utilities/SDK/VRTK_SDKManager.cs:351)
    4. VRTK.VRTK_SDKManager:AutoManageScriptingDefineSymbolsAndManageVRSettings() (at Assets/VRTK/Scripts/Utilities/SDK/VRTK_SDKManager.cs:854)
    5. UnityEditor.EditorApplication:Internal_CallHierarchyWindowHasChanged()
     
  7. EddieChristian

    EddieChristian

    Joined:
    Oct 9, 2012
    Posts:
    725
    Also Grabbable Objects is broken on the current Unity build. Even the sample files don't work.