Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Oculus Interaction SDK 概説 / xrdnk-caunity-LT4
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Denik
May 17, 2022
Programming
13k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Oculus Interaction SDK 概説 / xrdnk-caunity-LT4
Denik
May 17, 2022
More Decks by Denik
See All by Denik
Unity Localization で多言語対応実装しよう / xrdnk-yokohamaunity-lt10-20220513
xrdnk
0
10k
XR Interaction Toolkit 2.0.0 正式リリース記念パピコ / xrdnk-xrmtg-lt-20220316
xrdnk
0
11k
Unidux を用いたマルチシーン構成の画面遷移 / xrdnk-unity-otonanolt-2021
xrdnk
0
6k
Unity Cloud Save でプレイヤーデータのクラウド保存しよう / xrdnk-yokohamaunitylt9
xrdnk
0
1.8k
Feel でゲームのエフェクトを豪華にしよう / xrdnk-yokohamaunityLT8
xrdnk
1
2k
Unidux Scene Transition Hands-on / xrdnk-unidux-scene-transition-hands-on
xrdnk
1
510
新MLAPIでマルチゲームを作ってみた / xrdnk-gotandaunityLT19-presentation
xrdnk
1
4.5k
三種の神器とMVRPパターン / xrdnk-three-sacred-treasures-and-mvrp-pattern
xrdnk
1
7.5k
MLAPIでマルチゲームを作ってみた / xrdnk-roppongiunityLT8-presentation
xrdnk
1
3.2k
Other Decks in Programming
See All in Programming
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
180
golang-bob.pdf
iwatsukayura
0
150
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2k
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
170
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.5k
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
1.1k
Seven New Principles of Software Engineering
yegor256
0
390
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
660
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1.6k
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
210
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
610
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
310
Featured
See All Featured
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
360
How STYLIGHT went responsive
nonsquared
100
6.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Building AI with AI
inesmontani
PRO
1
1.3k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
660
Documentation Writing (for coders)
carmenintech
77
5.6k
Site-Speed That Sticks
csswizardry
13
1.6k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
800
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
650
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
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 のみであれば インタラクションのフィーリングが良くなるので導入してもいいかも (現状はマルチプラットフォーム向けではない感じ…)