Unity/AR

    04. ARCore - 로그캣

    🔷 ARCore - 로그캣 - monster가 camera를 따라오도록 처리 - 로그캣 🔶 monster가 camera를 따라오도록 처리 - 스크립트 생성 : MonsterMove - monster 프리팹에 추가 using System.Collections; using System.Collections.Generic; using UnityEngine; public class MonsterMove : MonoBehaviour { private Transform camTr; public float moveSpeed = 0.2f; void Start() { camTr = Camera.main.transform; } void Update() { Debug.Log($"transform = {transform.po..

    03. ARCore - 바닥 인식, 오브젝트 생성

    🔶 바닥 인식 - 빈 게임 오브젝트 생성 : PlaneVisualizer - 컴포넌트 추가 - Detected Plane Generator - DetectedPlaneVisualizer 연결 - build & run - 바닥으로 인식한 곳에 흰색으로 폴리곤이 생기는 것을 볼 수 있음 🔶 터치 시 오브젝트 생성 - 빈 게임 오브젝트 생성 : TouchMgr - 스크립트 생성 : TouchMgr - 스크립트 넣기 using System.Collections; using System.Collections.Generic; using UnityEngine; using GoogleARCore; public class TouchMgr : MonoBehaviour { private Camera arCamera; // ..

    02. ARCore - Feature point 시각화

    🔷 Feature point 시각화 - Feature point - Camera Focusing 🔶 Feature point - Main Camera 삭제 - - Cube 추가 : PointCloud - Collider 컴포넌트 삭제 - 머티리얼 생성 : PointCloud - Shader : ARCore/PointCloud - PointCloud 오브젝트에 위 머티리얼 적용 - 컴포넌트 추가 - Pointcloud Visualizer - Point Color : 색상 변경 - Build & Run - 위와 같이 feature points가 잡히는 것을 볼 수 있음 - 흐리게 보이는 것은 카메라가 초점을 못잡기 때문임 🔶 Camera Focusing - ARCore Device 오브젝트 - Session..

    01. ARCore - 설치

    🔷 AR Core 설치 🔶 document https://developers.google.com/ar/develop/unity/quickstart-android Android용 빠른 시작 | ARCore | Google Developers Google은 흑인 커뮤니티의 인종 평등을 증진하기 위해 최선을 다하고 있습니다. 방법을 참조하십시오. 이 페이지는 Cloud Translation API를 통해 번역되었습니다. Switch to English 의견 보내기 Android용 빠 developers.google.com 🔶 초기 세팅 - Switch Platform : Android - Package Manager - +버튼 - Add package from git URL - URL 입력 - com.unit..