Questions tagged [vrtk]

VRTK also known as the Virtual Reality Toolkit is a Unity3D package aimed at making developing for VR platforms easier and more productive. Use this tag for any questions regarding help regarding the use of VRTK. Any bugs or issues should be reported to the official GitHub Issues page.

VRTK is an open-source toolkit for rapidly building virtual reality solutions in Unity3D.

It covers a number of common virtual reality solutions such as:

  • Locomotion within virtual space.
  • Interactions like touching, grabbing and using objects.
  • Interacting with Unity3d UI elements through pointers or touch.
  • Body physics within virtual space.
  • 2D and 3D controls like buttons, levers, doors, drawers, etc.
  • And much more...

Online Resources

45 questions
0
votes
1 answer

Rotate an object with fixed point using controller in VR

I would like to have an object that has a fixed point and rotates based on controller movement in VR. Here is what I want to implement The user grabs an object. The user pulls/pushes the object in any direction while grabbing. Based on the…
Vikram
  • 13
  • 6
0
votes
1 answer

How can I add button input from VR controllers in VRTK 4 Beta (Unity)?

I want to use the buttons to trigger actions in my Unity scene, but I cannot figure out how to call the corresponding methods, when I press the button. I use VRTK 4 (beta) and cannot find any useful documentation or answered questions to it.
Nalara
  • 101
  • 1
  • 7
0
votes
1 answer

VRTK valid object policy

How do I limit the VRTK snap drop zone so that I can only drop one specific object in the zone? I tried to add the vrtk valid policy list where specified the element according to the name of the object but it does not work.
0
votes
1 answer

How to detect teleportation to a particular area in unity VR

I need to call a function when teleported to a particular area. How can I achieve this using VRTK and unity.
Nithin Jose
  • 1,029
  • 4
  • 16
  • 31
0
votes
0 answers

How do I create a custom raycast with VRTK

I am trying to create a custom tracer and a custom cursor for the raycast. Using the options given by the VR Pointer in the inspector don't seem to work. I want to have a shaded tracer with my own material. Same for the cursor. How do I do it?
piedue
  • 21
  • 1
0
votes
2 answers

Using components from a linked gameObject in a script

Sorry if this is too simple, but i've not been able to find an answer on this. Usually either the question is too complicated to answer or too simple to not know. THIS IS PARTIALLY A UNITY VR/VRTK ISSUE (maybe...) Anyways, my goal is to set up…
0
votes
1 answer

How to align my world space with Vive Chaperone bounds?

I am trying to create a room-scale 1:1 VR experience for HTC Vive using Unity and VRTK. I have a 3m x 3m tracked space for testing, and in Unity I have created a 3x3 room. However, the walls in my virtual world do not run in parallel with the Play…
0
votes
1 answer

VR hand Control is not working while loading the Next scene in Unity Vrtk

In My app initial page is login after Login app will navigate to Scene 1 (Here control is working fine). After Completing the Scene 1 app navigates to Scene 2. Here is my problem, VR Hand controller is not working in this scene.(But works after…
Nandha
  • 375
  • 3
  • 23
0
votes
1 answer

Object drops when teleporting

I have a cardboard box that can be picked up by the player. I have set up a mesh collider on this box and now it keeps any items that get picked up by the other hand within. However, as soon as I teleport, the items within the box do not follow the…
Mike
  • 17
  • 6
0
votes
1 answer

VRTK 3.3 Oculus controllers not tracking

VRTK: 3.3 Unity3D: 2018.1.0f2 Oculus: SDK Oculus Utilities 1.27 SteamVR: 1.2.3 I started a project using Vive which is all up and running. Then I wanted to start working on getting Oculus up and running. For some reason, the Oculus controllers are…
0
votes
0 answers

Unity virtual reality weapon switch (VRTK)

I currently have a game with 2 weapons, instead of running around and picking up the weapons, I would like the player to be able to switch between them. I have a basic weapon selector script: public VRTK.VRTK_ObjectAutoGrab autoGrab; public…
Danny
  • 11
  • 1
0
votes
1 answer

Get VRTK input to set a value inside an animator controller

(I already followed the tutorial 002 from VRTK, to use the custom trigger event on right and left controller. And it do work, but not for what I want.) I do have a character instanciated from a prefab with his own Animatorcontroller. I attached to…
0
votes
1 answer

Game mesh goes crazy

I have experienced a strange issue where my gameobject meshes go crazy upon picking them up. It's only for specific meshes for which some of them only do it randomly. By crazy I mean they resize in a certain axis. I am using the HTC Vive, SteamVR,…
Tishbyte
  • 40
  • 8
0
votes
1 answer

VRTK Using SteamVR Circular Drive for a bolt action rifle

right now I have been trying to make a rifle with bolt action system, but it have been really hard to make the bolt rotation, so the question is how to implement a rotating action like the one used in SteamVR's Circular Drive. Since the start of my…
Hectorales
  • 85
  • 1
  • 9
0
votes
1 answer

Post Processing Stack Ambient Occlusion stops working on runtime with Unity, VRTK, and SteamVR on the HTC Vive

When adding ambient occlusion from the Post Processing Stack asset onto the SteamVR camera, it works fine until I hit the play button (SteamVR is enabled for this as the VRTK manager automatically disables it). After that it disappears. I noticed…
Tishbyte
  • 40
  • 8