<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by TEE JIA HEN on Medium]]></title>
        <description><![CDATA[Stories by TEE JIA HEN on Medium]]></description>
        <link>https://medium.com/@wizztjh?source=rss-f0caad71e195------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aPBaF9Bo3ty_2zemZH9zxw.jpeg</url>
            <title>Stories by TEE JIA HEN on Medium</title>
            <link>https://medium.com/@wizztjh?source=rss-f0caad71e195------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 16:18:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wizztjh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to listen to Trigger event with SteamVR HTC Vive]]></title>
            <link>https://medium.com/vrcollab/how-to-listen-to-trigger-event-with-steamvr-htc-vive-d68207636870?source=rss-f0caad71e195------2</link>
            <guid isPermaLink="false">https://medium.com/p/d68207636870</guid>
            <category><![CDATA[construction]]></category>
            <category><![CDATA[bim]]></category>
            <category><![CDATA[htc-vive]]></category>
            <category><![CDATA[unity3d]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <dc:creator><![CDATA[TEE JIA HEN]]></dc:creator>
            <pubDate>Fri, 29 Apr 2016 09:06:58 GMT</pubDate>
            <atom:updated>2018-08-29T01:29:22.138Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Find your controller in camera Rig</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*HGzGnSkC82FWFd-XtNOpIw.png" /><figcaption>Click the controller</figcaption></figure><p>2. Attach SteamVR tracked controller component</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*oxjxcdh9fEgeu3eV6ZQqUA.png" /><figcaption>Attach the SteamVR tracked controller</figcaption></figure><p>3. uncomment the Start() of SteamVR_TrackedController.cs code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*G3qRLrRk8F8nXwMgpYjQyQ.png" /><figcaption>SteamVR_TrackedController.cs</figcaption></figure><p>4. Add SetDeviceIndex code to SteamVR_TrackedController.cs</p><pre>public void SetDeviceIndex(int index)</pre><pre>{</pre><pre>  this.controllerIndex = (uint)(int)GetComponent&lt;SteamVR_TrackedObject&gt;().index;</pre><pre>}</pre><p>5. Create a new Script attach to the controller, at the Start() function. Add this</p><pre>Start() {</pre><pre>  controller = GetComponent&lt;SteamVR_TrackedController&gt;();</pre><pre>  controller.TriggerClicked += new ClickedEventHandler(DoClick);</pre><pre>  controller.TriggerUnclicked += new ClickedEventHandler(DoUnclick);<br>}</pre><pre><br>Find out more about <a href="https://vrcollab.com/">Virtual Reality for BIM</a> at vrcollab.com</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d68207636870" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vrcollab/how-to-listen-to-trigger-event-with-steamvr-htc-vive-d68207636870">How to listen to Trigger event with SteamVR HTC Vive</a> was originally published in <a href="https://medium.com/vrcollab">VRcollab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>