3
\$\begingroup\$

I have an Unity project which I want to export and use in HTC Vive. How do I do that and in addition is there any resource online which I can use to refer how do I code to use the controllers for HTC Vive?

\$\endgroup\$
4
\$\begingroup\$

So here is the answer for your different parts of questions(also for beginner VR developer with unity and HTC-Vive):

  1. Instead of exporting your project into HTC Vive project you are required to import Free SteamVR Official Plugin into your project. After exporting the plugin, you can bring CameraRig prefab (from the prefab folder of the plugin) into you main scene project in order to view it through your HTC Vive head set. (its simple, now you can watch your project through htc-vive)
  2. If you are familiar with Unity and C# then you can easily work with VR. For Object interaction in VR & different purposes here comes the lovely VRTK - SteamVR Unity Toolkit. Its amazing, you can import it in to your project. It provides 40 demo Scenes that defines different things like object interaction, door interaction or teleportation, movement etc etc. Simply you require to import the package and explore its demo scenes to understand it. It also provide very healthy documentation.
  3. If you looking exactly for object interaction with your Vive controller you are required Interactable Object script in your object. You can follow its details here

So it is simple, you require SteamVR (its essential) and VRTK (its optional - to make VR development easy) in order to bring HTC-Vive application development into reality. (VRTK make HTC-vive development more simple and easy, thanks to VRTK team).

\$\endgroup\$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.