Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Oculus Interaction SDK 概説 / xrdnk-caunity-LT4
Search
Denik
May 17, 2022
Programming
0
9.2k
Oculus Interaction SDK 概説 / xrdnk-caunity-LT4
Denik
May 17, 2022
Tweet
Share
More Decks by Denik
See All by Denik
Unity Localization で多言語対応実装しよう / xrdnk-yokohamaunity-lt10-20220513
xrdnk
0
6.9k
XR Interaction Toolkit 2.0.0 正式リリース記念パピコ / xrdnk-xrmtg-lt-20220316
xrdnk
0
7.3k
Unidux を用いたマルチシーン構成の画面遷移 / xrdnk-unity-otonanolt-2021
xrdnk
0
5.7k
Unity Cloud Save でプレイヤーデータのクラウド保存しよう / xrdnk-yokohamaunitylt9
xrdnk
0
1.6k
Feel でゲームのエフェクトを豪華にしよう / xrdnk-yokohamaunityLT8
xrdnk
1
1.8k
Unidux Scene Transition Hands-on / xrdnk-unidux-scene-transition-hands-on
xrdnk
1
460
新MLAPIでマルチゲームを作ってみた / xrdnk-gotandaunityLT19-presentation
xrdnk
1
4.2k
三種の神器とMVRPパターン / xrdnk-three-sacred-treasures-and-mvrp-pattern
xrdnk
1
7.1k
MLAPIでマルチゲームを作ってみた / xrdnk-roppongiunityLT8-presentation
xrdnk
1
3k
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
300
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
3
1.1k
JETLS.jl ─ A New Language Server for Julia
abap34
2
440
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
3k
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
140
俺流レスポンシブコーディング 2025
tak_dcxi
14
9.5k
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
0
160
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
890
AIコーディングエージェント(skywork)
kondai24
0
200
ローカルLLMを⽤いてコード補完を⾏う VSCode拡張機能を作ってみた
nearme_tech
PRO
0
150
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
170
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
440
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
84
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
250
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
68
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
150
Leo the Paperboy
mayatellez
0
1.2k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
310
We Have a Design System, Now What?
morganepeng
54
7.9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
16
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
370
GraphQLとの向き合い方2022年版
quramy
50
14k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
60
37k
Transcript
Oculus Interaction SDK 概説 2022/05/20 CyberAgent.unity #4 Denik (@xrdnk) Unity
/ VR Engineer
自己紹介 Denik (@xrdnk) ◼ Unity / VR エンジニア ◼ MyDearest,
Inc. ◼ 今夏発売予定 Dyschronia 制作中
アジェンダ ◼ はじめに ◼ 機能紹介 ◼ Grab Interaction ◼ Hand
Grab Interaction ◼ Poke Interaction ◼ Ray Interaction ◼ Hand Pose Detection ◼ おわりに
はじめに
Oculus Interaction SDK Oculus Integration SDK v37 (22年2月) から追加された ハンド/コントローラのインタラクション機能がまとまっている
SDK 基本的にはノーコードでコンポーネントポチポチで使える 対応プラットフォームは Quest / Quest 2 のみ
導入例 Chess Club VR Finger Guns ForeVR Darts
出来ること ◼ VR 基本インタラクション (Grab・Poke・Ray) ◼ Grab 時の Hand Pose
指定とその Pose を簡単に作るツール ◼ Hand Pose の検知 ◼ タッチリミッター (手が平面を通過するのを防ぐ) ◼ 曲面キャンバス
機能紹介
Grab Interaction
Grab Interaction ◼ 主にコントローラ向けの汎用グラブインタラクション
Grab Interactor Grab Interaction の主体側:コントローラ側につける
Grab Interactable Grab Interaction の客体側:物体側につける
Grabbable (v37 は Transformable だった) Interactable に対して Grab 時に Transform
に何らかの制約を加えることが出来るコンポーネント
One Grab Transformers 片手 Grab 時に指定の Transform 変換操作が可能に Default は
OneGrabFree (位置・回転・スケール操作) OneGrabTranslate 位置操作のみ(コンストレイト設定可能) OneGrabRotate 回転操作のみ(コンストレイト設定可能)
Two Grab Transformers 両手 Grab 時に指定の Transform 変換操作が可能に Default は
TwoGrabFree (位置・回転・スケール操作) TwoGrabFree 位置・回転・スケール操作 (スケールのコンストレイト設定可能)
Hand Grab Interaction
Hand Grab Interaction ◼ ハンドトラッキング向きのグラブインタラクション ◼ 手の掴み動作を細かく指定出来る
Hand Grab Interactor Hand Grab Interaction の主体側:手側につける
Hand Grab Interactable Hand Grab Interaction の客体側:物体につける
Grab Types Hand Grab Interaction の Grab にはタイプがある Pinch Grab
指定された指で「摘まむ」 Palm Grab 手のひら全体で「掴む」
Grab Rules Hand Grab 時のルールを 決めることが出来る 右図例 Pinch Grab Rules
◼ 親・人差し指は利用する ◼ 中・薬・小指は無視する Palm Grab Rules ◼ 人差し・中・薬指は利用する ◼ 親・小指は任意
Hand Grab Point グラブポイントを設定して掴める点とする
Hand Pose Grab 実行時の手の姿勢を細かく調整することが出来る
Hand Pose Recorder 実際に Play Mode 時の Hand Pose を録画して
Hand Pose データを ScriptableObject として書き出せる
Poke Interaction
Poke Interaction 平面物体とダイレクトタッチインタラクションが出来る機能
Poke Interaction の概要図
Poke Interactor Poke Interaction の主体側:指・拳・掌・手などにつける
Poke Interactable Poke Interaction の客体側:面を持つコンポーネントにつける
Hand Poke Limiter Visual 手の突き抜けを防止するコンポーネント 利用前 利用後
Ray Interaction
Ray Interaction ◼ レーザーを当てるインタラクション ◼ ハンドインタラクション版もついている
Ray Interactor Ray Interaction の主体側:手・コントローラ側につける
Ray Interactable Ray Interaction の客体側:物体や Canvas などにつける
Curved Canvas Canvas や Mesh Renderer など Interactable が面の場合は曲面にすることも可能
Hand Pose Detection
Hand Pose Detection ◼ 手の姿勢を検知する機能 ◼ 検知時に何らかのイベントを発火することが出来る
Shape Recognizer 手の形状のデータを細かく指定できる
応用例 サムズアップのポーズで右方向に向かせると視点が右に移動する 手のひらを上に向かせるとテレポート移動の準備が開始される
おわりに
実際開発したくなったら Interaction SDK のコンポーネントは細かく分割されているので どれを利用するか一瞬分からなくなりますが,機能単位で Prefab が 提供されているので脳死でそのまま利用しましょう Interactor と
Interactable がセットであります
総括 ◼ Oculus Interaction SDK の紹介 ◼ VR 用インタラクションがより自然になるような設定が豊富 (細かい
Hand Grab 設定や Poke Interaction など) ◼ プラットフォーム対象が Quest のみであれば インタラクションのフィーリングが良くなるので導入してもいいかも (現状はマルチプラットフォーム向けではない感じ…)