VR 콘텐츠 제작9 ui ray로 받을 경우는 ray interactable canvas render texture필수적으로 추가 canvas 넣고 auto fix 2023. 10. 27. 오큘러스 프로젝트 셋팅 내 에셋에 추가 -> unity에서 열기 안드로이드로 switch platform import yes,for these and other files that .. 선택 fix all, apply all 2023. 10. 26. Hand Trigger누르면 Ray나오기 OneGrabTranslateTransformer 움직일수 있는 위치 제한 hand trigger버튼 누르면 레이 나오고 앞에 사물이 없으면 길게, 있으면 사물까지의 거리만큼 레이의 길이가 나오고 레이랑 부딪힌 상태로 a버튼을 누르면 부딪힌 사물의 이름이 출력되기 using System.Collections; using System.Collections.Generic; using Unity.VisualScripting; using UnityEngine; public class UIHandRayInteractor : MonoBehaviour { [SerializeField] private Transform b_l_index_null; [SerializeField] private LineRenderer li.. 2023. 10. 26. UseActive State 실행하고 copy position, cube에다가 paste position하면 simulator에서 손에 딱 큐브 붙음 2023. 10. 25. distanceGrab, Ghost Reticle 빈오브젝트를 만들고 아래의 ReticleIcon을 넣어라 각각 맞는걸 잘 찾아서 넣어야함 큐브에(잡을 물체에) interactable에 Reticle Data Icon넣어야함 = Create Ghost Mesh Reticle Create Ghost Line Reticle RiticleLeftHand의 ReticleLine에는 LeftHand의 DistanceHandGrabInteractor를 넣어야한다. => 되긴되는데 아래쪽에서 쏨 => visual offset을 0.5-> 2로 바꾸니 위로 올라오긴 했는데 위치가 너무 앞쪽임 고스트 핸드 때문인지 그냥 위치가 앞인건지는 확인해봐야할거같음 Create Ghost Hand Reticle 잡으면 로그 찍기 using System.Collections; us.. 2023. 10. 25. hand grab pose 클릭 손생성 handpose 만들때는 handsynthetic필요함 ovrCameraRig 수정 필요함 -> 네이버 블로그에 있음 이런 구조로 만들것 Add handGrabPos Ket with Scale 버튼 누르면 아래의 HandGrabPose 생성됨 cylinder Grab Surface 추가 손가락 하나하나 구부리고, cylinder가 팔목쪽에 있도록한다. -> 실행결과 방패의 어느 부분을 잡든지 주먹 쥔 pose로 팔목쪽에 손잡이 부분이 붙는 모습 oculus link가 가능한 경우 https://developer.oculus.com/documentation/unity/unity-isdk-creating-handgrab-poses/ Create a Hand Grab Pose (PC) | Ocul.. 2023. 10. 24. 이전 1 2 다음