Download VRTK and STEAMVR from assets store and import into unity
1, create an empty object, renamed to Vrtk_sdkmanager. Vrtk_sdkmanager is used to manage any vrtk_sdksetup that is set up. Add Component Vrtk_sdk Manager
2, create an empty object, renamed to Vrtk_sdksetup. Add Component Vrtk_sdksetup
3, the Camera_rig as a vrtk_sdksetup of the child objects.
4, in the VRTK_SDK setup in the Quick selection select STEAMVR
5, if the actual objects in the Vrtk_sdksetup script is not automatically populated, then click Populate Now Fill Object
6, select Vrtk_sdkmanager, select setups click "+", drag Vrtk_sdksetup to "None (vrtk_sdk Setup)" position
7, under the Vrtk_sdkmanager to create two empty objects, respectively renamed to Leftcontroller (used to configure the left hand handle), Rightcontroller (right handle)
8, select Leftcontroller and Rightcontroller, add Vrtk_controller events (event interaction script), Vrtk_pointer (handle pointer), Vrtk_straight pointer Renderer (line pointer)
9. Set the pointer of the left and right handles respectively
10, in the Vrtk_sdkmanager to specify the left and right handle
11, after the operation of the successful rendering of the handle, press the Touchpad key to launch a straight-line pointer
Note:
1. Reference materials: http://edu.manew.com/course/344/learn#lesson/5789
2, the creation of empty objects are hidden by default, check box to make it appear