SlideShare a Scribd company logo
Unite Sydney - Xr Input Mapping
VR Controller
Interactions for the
Masses
Pablo Farias Navarro
Founder, ZENVA
https://zenva.com
We interact with virtual
worlds using controllers
3
Each VR platform has
their own SDK
4
Cross-platform support has
been massively improved
in Unity 2019.1
5
Agenda
6
— Headset and controller tracking
— XR Input Mapping
— Common interactions
— Grabbing
— Throwing
What happens when
you move your laptop?
7
Stationary Experience
XR Rig
8
Room-Scale Experience
Setup in Unity
9
Tracked Pose Driver component
(Import XR Legacy Input Helpers from the
Package Manager)
Controller Models
10
Agenda
11
✅ Headset and controller tracking
— XR Input Mapping
— Common interactions
— Grabbing
— Throwing
XR Input Mapping
12
— Available in 2019.1
— Standard set of Feature Usages
— Supports all major XR platforms
Hello World XR Button
13
In Update()
— Get the device (specifying left / right hand)
— Get the Feature Usage value
— Check the value is true (“pressed”)
Hello World XR Button
14
Making it reusable
15
— Hand selection
— Feature Usage selection
— Press / Release events
Code: https://zenva.com/unitesydney2019
Axis support
16
— Button values are either true or
false
— Axis values can be between 0
and 1
— Define a threshold for “Press”
event
17
Agenda
18
✅ Headset and controller tracking
✅ XR Input Mapping
— Common interactions
— Grabbing
— Throwing
Grabbing
19
1. Check button press (“Grip”)
2. Check controller – item collision
3. Item follows the controller
4. Check button release
5. Item is dropped
Controller and item
20
Controller Item
Throwing
21
1. Keep track of controller velocity
2. Check button release
3. Set item to non-kinematic
4. Apply velocity
22
Summary
23
1. Unity support for VR Controllers
1. Tracked Pose Driver
2. XR Input Mapping
2. Reusable button controller
3. Common interactions
1. Grabbing
2. Throwing
Thank you!
Pablo Farias Navarro
Founder, ZENVA
https://zenva.com

More Related Content

PPTX
Vr mobile vs pc discussion ppt
PDF
AR Demo
PPTX
Shoott brochure
PPTX
Red water one presentation
PPTX
Jay Wright & JJ Lechleiter (Vuforia): State of Augmented Reality
PPTX
Ignition five 07.11.11 (2)
PPSX
Authonomous wheel chair
PPTX
Intro to Arkit - ARKit NYC Meetup - 7.20.17
Vr mobile vs pc discussion ppt
AR Demo
Shoott brochure
Red water one presentation
Jay Wright & JJ Lechleiter (Vuforia): State of Augmented Reality
Ignition five 07.11.11 (2)
Authonomous wheel chair
Intro to Arkit - ARKit NYC Meetup - 7.20.17

Similar to Unite Sydney - Xr Input Mapping (20)

PDF
Build Immersive Worlds in Virtual Reality
PDF
COMP 4010 Lecture 3 VR Input and Systems
PDF
COMP 4010 - Lecture 3 VR Systems
PDF
Webinar: Giovanni Laquidara - Creare applicazioni VR
PDF
Vr webinar for Codemotion
PDF
Developing VR in Unity
PDF
COMP 4010 Lecture6 - Virtual Reality Input Devices
PDF
Let’s get real: An introduction to AR, VR, MR, XR and more
PDF
Comp4010 Lecture9 VR Input and Systems
PDF
Virtual Reality: Learn to Maximize Present and Future Creative Possibilities!
PPTX
Mobile VR, Programming, Rendering
PDF
Augmented Reality Application Development_Vuforia.pdf
PDF
SAE AR/VR - The challenges of creating a VR application with Unity
PDF
Comp4010 Lecture10 VR Interface Design
PPTX
Introducing the new Input System – Unite Copenhagen 2019
PPTX
VR Devices and Methods of Development
PPTX
Create Your First VR Educational App with Unity
PPTX
Ai lecture about VR technology discuss.pptx
PPTX
Intro to Virtual reality
PDF
Lecture 4: VR Systems
Build Immersive Worlds in Virtual Reality
COMP 4010 Lecture 3 VR Input and Systems
COMP 4010 - Lecture 3 VR Systems
Webinar: Giovanni Laquidara - Creare applicazioni VR
Vr webinar for Codemotion
Developing VR in Unity
COMP 4010 Lecture6 - Virtual Reality Input Devices
Let’s get real: An introduction to AR, VR, MR, XR and more
Comp4010 Lecture9 VR Input and Systems
Virtual Reality: Learn to Maximize Present and Future Creative Possibilities!
Mobile VR, Programming, Rendering
Augmented Reality Application Development_Vuforia.pdf
SAE AR/VR - The challenges of creating a VR application with Unity
Comp4010 Lecture10 VR Interface Design
Introducing the new Input System – Unite Copenhagen 2019
VR Devices and Methods of Development
Create Your First VR Educational App with Unity
Ai lecture about VR technology discuss.pptx
Intro to Virtual reality
Lecture 4: VR Systems
Ad

More from Pablo Farías Navarro (8)

PDF
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
PPTX
Teacher Training Workshop - Game Development with Phaser
PPTX
Creating Unity VR Experiences with 360 Content - Brisbane VR Hackathon 2017
ODP
How to launch a successful Kickstarter campaign
ODP
HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...
ODP
HTML5 Mobile Game Development Workshop - Module 1 - HTML5 Developer Conferenc...
PPTX
How to launch a successful kickstarter campaign
ODP
HTML5 Mobile Game Development - Brisbane Game Technology Meetup 2015
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
Teacher Training Workshop - Game Development with Phaser
Creating Unity VR Experiences with 360 Content - Brisbane VR Hackathon 2017
How to launch a successful Kickstarter campaign
HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...
HTML5 Mobile Game Development Workshop - Module 1 - HTML5 Developer Conferenc...
How to launch a successful kickstarter campaign
HTML5 Mobile Game Development - Brisbane Game Technology Meetup 2015
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Big Data Technologies - Introduction.pptx
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Chapter 3 Spatial Domain Image Processing.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation_ Review paper, used for researhc scholars
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Unlocking AI with Model Context Protocol (MCP)
The AUB Centre for AI in Media Proposal.docx
Mobile App Security Testing_ A Comprehensive Guide.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Big Data Technologies - Introduction.pptx
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Per capita expenditure prediction using model stacking based on satellite ima...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Digital-Transformation-Roadmap-for-Companies.pptx

Unite Sydney - Xr Input Mapping

Editor's Notes

  • #3: Hello everyone Pablo here I'm a certified unity instructor and founder of Zenva, an online academy that teaches coding and game development.
  • #4: VR, the ability to experience and be present in worlds that don't exist is certainly a super exciting field Using hand controllers is one of the main ways in which we can interact with these virtual worlds.
  • #5: But the VR ecosystem is very fragmented. Until very recently, your options as a developer were to focus on just one platform using their native SDK, or to embark in a cross-platform hell where you were at the mercy of frameworks that were not always well maintained
  • #6: But that's all changed for good in Unity 2019.1 thanks to the new XR input mapping, which gives you an easy way to access all buttons in all the main controllers.
  • #7: In this presentation we are going to introduce the new xr input mapping system and we are going to develop basic controller interactions that will be useful in a wide variety of scenarios: - grabbing  - throwing Let’s start with tracking
  • #8: Let me ask you a question. What happens when you are playing a game and you move your laptop. The answer is of course nothing. The camera in a normal game is controller by the keyboard, gamepad or by the game itself in lets say a cut scene. In VR on the other hand, the camera movement and rotation is controlled by the player. The same thing happens with hand-tracked controllers. You can never impose rotation or movement to any of these, it would feel like someone taking your head and forcing you to look around.
  • #9: In VR applications we create a container object which we can call an XR rig. And when you need to move the player, for example if they hop into a vehicle or a lift, what you move is the entire rig There are two main types of VR experiences, and of course these definitions are not set in stone. We have stationary experiences where the location of the floor is not necessarily detected or known so we use a floor offset to set that height, and we have room-scale experience where the floor is detected by the tracking system
  • #10: In Unity, the setup can be the same on both cases. We just use containing objects, the head is the camera, and we use a component named Tracked Pose Driver to track the position and rotation of these devices. The tracked pose driver is available in the package manager under XR Legacy Input Helpers. And don’t be afraid by the word legacy here, there is no replacement for the time being so this is the only thing you can use for now.
  • #11: The controllers also need a 3D model so that you can see them on your application.
  • #12: That’s it in regards to tracking. Then the xr input mapping is the part that has been significantly improved in 2019.1.
  • #13: The Xr input mapping system defines a set of standard feature usages that you can use in your code, and that translate to different buttons in the main VR and AR controller platforms
  • #14: In this presentation we are going to introduce the new xr input mapping system and we are going to develop basic controller interactions that will be useful in a wide variety of scenarios: - grabbing  - throwing Let’s start with tracking
  • #19: That’s it in regards to tracking. Then the xr input mapping is the part that has been significantly improved in 2019.1.
  • #25: Hello everyone Pablo here I'm a certified unity instructor and founder of Zenva, an online academy that teaches coding and game development.