Use unity and steamVR to complete scene roaming (1) environment construction

    Before getting started, you must have Unity and an HTC Vive device.

     1. Search for Steam VR Plugin in Asset Store.

        

     

        2. Download and import the plugin.

       

        3. Open the SteamVR folder and view Prefabs

            

        4. Drag the [CameraRig] [SteamVR] into the scene. The effect is as follows:

            

            5. The blue area in the picture above is your active area, and the location of [SteamVR] is where the helmet is initialized.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325728158&siteId=291194637