[Oculus Quest筆記]傳送功能
Published in
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