Skip to content

디버깅 문구 추가 - #17

Open
Ren-ame wants to merge 25 commits into
mainfrom
branch1
Open

디버깅 문구 추가#17
Ren-ame wants to merge 25 commits into
mainfrom
branch1

Conversation

@Ren-ame

@Ren-ame Ren-ame commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Ren-ame and others added 25 commits April 17, 2026 14:08
Add KGB AR content: animated beagle prefab, AR default plane prefab, animator controller, and related meta files. Add ARPlacementManager and AnimalMover scripts. Add XRGeneralSettings asset. Update Main scene and Universal Render Pipeline settings (renderers and global settings) and other ProjectSettings. Update Packages/manifest.json and package lock. Include Burst temporary debug output file generated for arm64-v8a.
Create beagle, bichon, bobtail Animator Controller
- Construct state
- Add parameter
- Make transition
- Animator integration with PetStatusController
Multiple updates across project:

- Fix Burst temp paths to new project directory in lib_burst_generated.txt.
- Normalize scales on several animal prefabs (set uniform m_LocalScale to 0.015 and enable m_ConstrainProportionsScale).
- Add a SphereCollider to beagle_dog_animated.prefab (radius=4, center y=3).
- Extend beagle_anim.controller with new parameters: HungerLevel, IntimacyLevel, HappinessLevel, IsHungry, IsHappy, Play.
- Remove an unused MonoBehaviour component from KGB_Scene.unity (clean up XR Origin child).
- Refactor ARPlacementManager.cs: tidy usings, simplify touch early-return checks, perform Physics raycast on touches to detect pet taps (calls MyPetManager.myPetInstance?.OnPetTouched()), move/respawn handling, and register spawned pets with MyPetManager.

These changes correct prefab scaling/physics, add animation parameters for pet state, clean up scene components, and improve AR touch interactions and pet lifecycle integration.
Call MyPetManager.RegisterPet when spawning an animal in ARPlacementManager so the manager knows about the instantiated pet. Update beagle animator: add a HungerLevel transition (threshold 50) and set sitting_beagle speed to 0. Normalize and update generated Burst options/paths in lib_burst_generated.txt (flag reorder, add decode/output paths, disable safety checks, etc.). Minor comment/log formatting tweaks in MyPetManager (no functional changes).
MyPetManager, ARPlacementManager 주석 복구
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 비글 애니메이터 컨트롤러에 TouchIndex 파라미터와 터치 기반 전환 조건을 추가
- ARPlacementManager는 이제 스폰된 동물에 PetStatusController를 붙이고 Animator를 할당
-  AnimalMover: 배회 반경(wander radius)을 추가하고, 터치 처리 방식을 변경하여 랜덤 TouchIndex를 설정하고 ReactTrigger를 발동시키며, 유휴 상태(idle)일 때 앉거나 근처 랜덤 지점으로 배회하도록 DecideIdleBehavior를 구현
hungryThreshold 수치가 30 이하로 떨어질 시 laying 모션으로 배고픔 표현
- 스폰된 펫이 앉거나 이동을 마칠 때 LookAtCamera()를 호출하고 _isLookingAtCamera를 설정하여 카메라를 바라보도록 함
- ARPlacementManager의 펫 설정을 단순화하여 SetAnimator 호출 없이 PetStatusController만 추가하도록 변경
- PlayerSettings.preloadedAssets에 여러 항목을 추가하여 런타임에 필요한 에셋들이 사전 로드에 포함
쓸모없는 isLooking~ 삭제
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant