Conversation
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).
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~ 삭제
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.