UnityVR, Exploring 3D UI Objects

<p>An important aspect of VR development in Unity is the use of 3D UI objects. This involves the user interacting with simple 3D objects to interact with other objects in the environment. Examples of 3D UI objects are levers, joysticks and wheels. Each object is a basic 3D object with a script component defining it&rsquo;s functionality.</p> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*a1a-pr9V5ZXKEn34GHd7_Q.png" style="height:316px; width:700px" /></p> <p>Instead of creating the objects and components all from scratch, you can utilize Unity&rsquo;s XR Interaction Toolkit and use the prebuilt 3D UI object prefabs from the example.</p> <h2>Lever</h2> <p>A lever is a simple object that can control functionality for activating and deactivating. Inside the XR Lever script component on the object, you can define the lever&rsquo;s starting position or angle, the range of the angle, and defining if you want it to lock to position or not.</p> <p><a href="https://medium.com/@austinjy13/unityvr-exploring-3d-ui-objects-ccde84bf5b23"><strong>Click Here</strong></a></p>
Tags: UnityVR 3D