Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamakiri01/pbtoggleapplier
https://github.com/kamakiri01/pbtoggleapplier
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kamakiri01/pbtoggleapplier
- Owner: kamakiri01
- Created: 2022-04-25T14:28:58.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-06T09:16:02.000Z (over 2 years ago)
- Last Synced: 2024-11-10T18:12:12.610Z (2 months ago)
- Language: C#
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[日本語 README](./README_ja.md)
# PBToggleApplier
Tool to switch PhysBone with AnimationClip for changing clothes.
## About
This tool extracts bones from GameObjects shown/hidden in AnimationClip and the SkinnedMeshRenderer contained in their children, and adds keyframes to Enable/Disable the bones and PhysBone in the bones' children, according to the SkinnedMeshRenderer.
## Target Use Case
- Show/Hide (Skinned)Mesh Renderer to change clothes
- (Skinned)Mesh Renderer is grouped into Empty Objects in the hierarchy for each clothes## Usage
- Install unitypackage
- Open PBToggleApplier from right click in hierarchy
- Set `Avatar` and target `AnimationClip`
- Push `Run`## Notice
Clothing switching in Unity can be implemented in a variety of ways, and depending on those methods, this tool may not add the correct keyframes.
We recommend backing up your AnimationClip file before using this tool or generating a backup file with the Save option of this tool.This tool is intended for use with Unity's Hierarchy to change avatars' clothing by nesting bones.
It is not intended for avatars that switch clothes using Blender modification or BlendShape in a single SkinnedMeshRenderer.