박스여는 행동
박스 구성
BoxLid(위에 파란색 큐브), BoxBase(아래 빨간색 큐브) : 3D Object Cube
Box, Hinge : Empty Object
HandGrabInteractable : Oculus 폴더의 프리팹
Box Inspector
Position 값이 Y축 0.7, Z축 0.5인 이유는 내 시야 기준 편한 곳
Hinge Inspector
One Grab Rotate Transformer
Rotation Axis : 돌릴 방향
Constraints - Min Angle , Max Angle : 최소, 최대 회전시킬 위치
Grabbable Script
BoxLid Inspector
HandGrabInteractable Inspector
BoxBase Inspector
https://developer.oculus.com/documentation/unity/unity-isdk-grabbable/
Grabbable | Oculus Developers
developer.oculus.com