[Oculus Quest筆記]傳送功能

詹閔翔
Eric’s publication
3 min readJul 24, 2019

p.s.以下內容100%來自上面影片,單純因為自己懶得翻影片所以整理成筆記XD

設置流程

1.在OVRPlayerController底下新增一個新的空物件命名為Teleportation

2. 為其添加Locomotion controller、Locomotion Teleport 腳本

(1)Locomotion controller 設置
可以從場景拉,也可以從右邊的圈圈點選

(2)Locomotion Teleport 設置
teleport destination prefab → 可以從projecct 視窗中查詢找到

3新增Teleport Input Handler Avatar Touch腳本

4.新增以下物件

(1)Teleport target handler physicla → 底下的mask改成default
(2)Teleport Aim Handler Laser :完全的直線雷射
(3)Telepart Aim Visual Laser → 可以從projecct 視窗中查詢找到
(4)Teleport Orientation Handler and Tunmbstick

--

--

詹閔翔
Eric’s publication

專注於各種可能的技術解決方案,喜歡從技術的角度解決問題,也喜歡接觸各種新科技跟open source專案與時代一起進化,並樂於將所見所聞製作成人人都能輕鬆理解的教學文章分享於網路平台。https://studio-frontend-one.vercel.app/