VR in Unity: Pt 02- VR Dev Series 02

Quick guide: playing with controller sample scene of OpenXR Plugin to get a quick understand of OQ2 controller.

In the previous tutorial, we have created a project with every plug-in we needed. Let’s take a quick look of controller input.

Controller scene

First we need to do is importing the sample scene from package manager. Open it and select OpenXR, then you should see the dropdown menu of Samples. Import Controller.

Once imported, there is a sample scene called ControllerSample under Assets>Samples>OpenXR Plugin> 1.2.8> Controller.
Open that scene.

In this scene, it has prepared the basic controller input system of OQ2.

Testing in OQ2

Now we can connect out OQ2 to PC, and into Play mode.
If everything runs smooth, here is what you should see in your OQ2 with holding both controllers.

If you could not get into Play mode in VR properly, there will be a tutorial about this function in my next article.

Now you could try to press every buttons on your hand to see what the button is.

If you select LeftHand or RightHand gameobject in Hierarchy, you can take a look at LeftHand/RightHand> VisibleElements> Grip> ActionMapInfo to take a look at every input setting with both controllers.

This is the quick guide of first peek of OQ2 input in Unity.

--

--

--

A passionate gamer whose goal is to work in video game development.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

TryHackMe -ohSINT

System Mapping for Leaders and Systemic Problem Solvers: How to build Casual Maps (Pt.2)

APIE-The 4 Pillars of Coding(Object Oriented Programming)

Skills We Can Learn From Software Engineers And Apply In Our Life Today

What Is the Purpose of Fleet Software for You?

Spring recap: what have we been up to from a product point of view

HNG 8 is finally starting

It’s Okay to Break Things: Reflections on Khan Academy’s Healthy Hackathon

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
S.J. Jason Liu

S.J. Jason Liu

A passionate gamer whose goal is to work in video game development.

More from Medium

Galaxy Shooter 2D — Super Laser

Unity Tutorial — Toon Shade in HLSL

Unity : NavMesh (Offmesh Links)

Creating A Modular Powerup System in Unity