VR 콘텐츠 기초

[Meta Quest, VR, Oculus] 광선 상호작용(레이, Create Ray Interactions)

다모아 2023. 10. 26. 14:29

1. HandRayInteractor prefab을 HandInteractorsXXX의 자식으로 넣기

2. HandInteractorsXXX > Best Hover Interactor Group > Interactors에 HandRayInteractor 넣기

 

3. Cube 만들기

4. Empty GameObject 만들어서 Collider로 수정한 후 Cube의 자식으로 넣어주기

5. Cube > Ray Interactable 추가해주고 Surface에 Collider 넣기

6. Collider > Collider Surface 추가해주고 Collider에 Collider 넣기


Visuals가 보여주는 Ray UI이다.

 

https://developer.oculus.com/documentation/unity/unity-isdk-create-ray-interactions/

 

Create Ray Interactions | Oculus Developers

 

developer.oculus.com