![]() We are almost done, now you need to set up your HTC VIVE, run Steam VR and press play. ![]() We are not going to review these elements in this tutorial, however, it is worth noticing that they include both controllers and the VR camera. You can locate it either by looking for it inside of the SteamVR folder (see path below) or just typing "Player" into the search box found on top of the Project panel.Īfter dragging and dropping your player into your "Hierarchy" panel, hold the "alt" key and click on the little arrow next to the prefab name, this will unfold/display all the child objects contained inside the player game Object. Now we are ready to place our Player prefab. Please right-click over your Main Camera game object and select "delete". Please notice that in most cases you will only need one camera inside of your project and having more than one usually requires extra settings for them to work properly. We are almost ready to place our player in the scene, however, we need to delete the Main Camera (Included by default in our new project) as will conflict with our player's camera. Click on the "Asset Store" tab and type "Steam VR" into the search box.įirst, you will need to click the "Download" button, after downloading, the same button will turn into the "Import" button, click on it, you should see a window displaying all the contents of the package, just click Import.Īfter a moment, your package should be installed and you will be able to see the "SteamVR" folder in your Project panel. Now that we have a plane for our player to stand on, it is time to import the Steam VR Plugin from the asset store, this plugin will allow us to integrate and use both the VR Headset and the controllers. With your plane selected, look for the Transform component in the "Inspector" panel and change the scale to 10 on all three axes. Now, let's make bigger so your player can have a bit more of space to interact. This will reset all the transform values for the plane. Select the plane and chose the Reset option inside the drop-down menu found on the right top corner of the transform component. Now let's place the plane in the middle of the space. Make sure you select a 3D template.Īfter your new project opens, locate your mouse cursor on top of the "Hierarchy" panel and right-click to create a plane. Click here to go to the Steam download page.Ĭreate a new Unity project, you might need to login first. Steam platform will install additional components needed to run the HTC VIVE on your computer. To use Unity you will have to create your own account as you will be prompted to login when you start running the software. More recent versions might also work, this tutorial was made using Download and install Unity 2018.2.21f1.Please notice that this is the first of a series of tutorials focused on enabling the use of HTC VIVE devices, each tutorial will build on top of previous ones to get you from basic concepts to more functional and complex projects. This tutorial aims to get you started using Unity and HTC VIVE HDM (Head Mounted Display) Using Steam VR 2.2 plugin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |