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
4
votes
0 answers

How to get the pixel value of the texture you are pointing at DestinationMarkerEventHandler?

Using Unity3D and VRTK I am need to get the value of a pixel on a texture I am pointing at using the VRTK_Pointer script. I created a script, attached to a sphere named COLOR_GRID I declared a public member Texture2D corresponding to the sphere's…
Deewy
  • 245
  • 1
  • 8
2
votes
1 answer

unity / vrtk does not contain a defination errors

I was using Unity and Oculus together. I recently uninstalled both packages. And now I want to reload them. I import oculus first and then VRTK. However, after importing vrtk I get the following…
badcode
  • 581
  • 1
  • 9
  • 28
2
votes
0 answers

How to render specific VR camera in a unity scene?

I am building a project in which multiple users will be able to join the same scene. I am using VRTK and whenever a user opens a project, VR camera will be initialized and the user will have public boolean variable called isLocalPlayer set to true…
Mar
  • 103
  • 1
  • 2
  • 8
2
votes
1 answer

Can't see controllers in any scene of VRTK using Unity

Using : Unity v5.5 VRTK v3.2.1 SteamVR v1.2.3 (HTC Vive) I can't see (nor use) my controllers in any VRTK's example scene. I also tried to add a SteamVR_UpdatePoses in [CameraRig]->Camera (head)->Camera(eye) as the FAQ suggests.
verygolo
  • 95
  • 1
  • 9
2
votes
1 answer

using unity physics with SteamVR

I want to make a plank game in VR with Unity. So when the player walk outside of the plank, he falls. Right now the only way to make it work is by using VRTK which is another physics system and it makes a lot of things complicated. I've put a…
1
vote
1 answer

Unity VRTK4 Snap Zone, how do you set the initial or default object?

I'm trying to use the Tilia snapzone utility from VRTK 4 and I can't figure out how to set the initial game object. Please help.
Tinku
  • 11
  • 2
1
vote
0 answers

Unity VRTK (basic) can't change default meshes

Doing the UnityVRTK beginner tutorial so sorry for such a basic questions but every time it says to change a default mesh to one created for the project I get an error telling me it needs to be unlocked and the project mesh (or shader when working…
BevP
  • 11
  • 1
1
vote
0 answers

VRTK/Unity3D/Vive VR, Touchpad Control, Move with Touchpad press, Input sometimes not received, why?

I am trying to use the Touchpad Control of the VRTK Asset for Unity VR. With Touchpad Touch it seems to work fairly fine, but for a more direkt input, we would like the player to actually press down on the TouchPad and hold to walk in a certain…
JaneAzel
  • 11
  • 1
1
vote
0 answers

How to network a VR button with PUN in Unity?

I've been working on a solution for weeks now and I think it's time to reach out. I'm trying to make a button that plays a sound when pressed by a controller, everyone will hear that sound. Using VRTK and PlayoVR, I'm able to make a non-networked…
TheMusiken
  • 11
  • 3
1
vote
1 answer

Unity VRTK asset error

I've just downloaded VRTK v3.20 asset in unity but after importing I am gettin some errors. I can't seem to find a solution online. Unity Version: 2018.1.6f1 personal…
Nurul Huda
  • 29
  • 1
  • 5
1
vote
2 answers

How to get time of how long an object is grabbed?

Currently I am working on a project using Unity and the Virtual Reality Toolkit (VRTK). I want to log the times of the grabbed objects (How long the user grabs an object). So far I got this: using System; using System.Linq; using System.Text; using…
Joh
  • 327
  • 4
  • 13
1
vote
2 answers

Capturing usage of the HTC Vive system button

The system button isn't re-mappable, but is it possible to identify when the user pressed this it, either via the Steam SDK or VRTK Controller Actions? I can see that VRTK at least knows about it? public virtual void InitaliseHighlighters() …
ManxJason
  • 928
  • 12
  • 33
1
vote
2 answers

Second Controller actions VRTK HTC Vive

We started creating an app for HTC Vive without using VRTK initially. Recently we switched over to using VRTK and ran into a problem where we want to do some actions when one controller is holding the trigger and the other is pressing another…
stackErr
  • 4,130
  • 3
  • 24
  • 48
1
vote
1 answer

HTC VIVE Unity C# VRTK use simple pointer and bezier pointer on the same controller?

I am developing for the HTC VIVE on Unity with VR Tool Kit and I am trying to use on the same controller the simple pointer script and the bezier pointer script. The problem is that both script use by default the touchpad and the same event…
Bourbi
  • 11
  • 3
0
votes
0 answers

Snap the chip to the breadboard in Unity 3D

I want to make an item with any number of pins insertable into a board area. I'm currently using the VRTK library and haven't been able to accomplish this using interactable and snapzone. Are there any other ways to achieve this effect? How to make…
mkdirer
  • 1
  • 1
1
2 3