Bone<->Mesh & related PB Selector
- Digital0 JPY




EN I used Gemini to create a handy Unity editor script that streamlines avatar clothing workflows. - Bidirectional Mesh-Bone Tracking (Smart Select) Mesh to Bones: Selecting a clothing item (SkinnedMeshRenderer) automatically finds and selects all bones linked to that mesh. Bone to Meshes (Reverse Lookup): Selecting a specific bone tracks down and highlights all SkinnedMeshRenderer components affected by that bone. - Automatic PhysBone & Collider Selection (Select PB): Selecting a clothing object and running this feature automatically detects all VRChat PhysBone components applied to the associated bones, along with any Colliders registered inside those PhysBone scripts. v1.1 - Fixed an issue where the script attempted to rename the object when executing the bone-to-mesh selection feature. //KO 제미나이(Gemini)를 활용해 아바타 의상 작업 시 유용하게 쓸 수 있는 유니티 에디터 스크립트를 만들어봤습니다. - 메쉬-본 상호 추적 (Smart Select) 의상(Mesh) → 본(Bone) 추적: 의상의 SkinnedMeshRenderer를 선택하면, 해당 메쉬에 연결된 모든 본 오브젝트를 한 번에 찾아 선택합니다. 본(Bone) → 메쉬(Mesh) 역추적: 특정 본을 선택하면, 해당 본의 영향을 받는 모든 SkinnedMeshRenderer 오브젝트들을 역추적해서 찾아줍니다. - 연관 피스본 자동 선택 (Select PB): 의상을 선택하고 기능을 실행하면, 해당 메쉬에 연결된 본에 적용된 모든 VRChat PhysBone 스크립트와 해당 스크립트 내에 등록된 콜라이더(Colliders)까지 한 번에 모두 찾아 선택해 줍니다. v1.1 - 본에서 메쉬를 선택하는 기능을 실행했을때, 오브젝트 이름을 변경하려는 오류를 수정했습니다.




