ARKit2 RealityKit - 기본 Interaction과 외부 모델 ARView에서 탭 인식하기 실제 아이폰 스크린을 통해 탭 한 위치에 존재하는 RealityKit 가상 공간의 영역의 위치로 인식하는 방법 간단하게 ARView에 존재하는 Entity 탭하기 1. UIKit을 메서드를 통한 ARView에서 탭한 좌표 받기 let tapLocation: CGPoint = recognizer.location(in: view) ⇒ UIKit에서 탭을 한 곳의 좌표를 받아오는 함수 2. ARView에서 탭한 좌표에 entity를 받아오기 entity(at:) | Apple Developer Documentation Finds the entity in the AR scene closest to the specified point. developer.apple.com let ent.. 2023. 7. 29. RealityKit - 기본 구조와 기본 Object 생성 기본 구조와 기본 Object 생성하기 WWDC의 가장 기초적인 설명 Building Apps with RealityKit - WWDC19 - Videos - Apple Developer Gain a practical understanding of RealityKit capabilities by developing a game using its easy-to-learn API. Learn the recommended... developer.apple.com ARView → Scene → Anchor → Entity의 구조 기초적인 AR 가상 객체 생성 흐름 ARView를 생성한다 (Scene이 내부 속성{ 클래스 }에 존재함) scene 내부에는 anchors가 인스턴스가 존재함 anchor를 설정한다 .. 2023. 7. 24. 이전 1 다음