Commit Graph

20 Commits

Author SHA1 Message Date
bd_
b55fa356db Merge remote-tracking branch 'origin/main' into 000/plugin 2023-09-17 22:01:26 +09:00
bd_
75fe74da53
fix: non-unit scale armatures result in incorrect constraint behavior (#421) 2023-09-08 18:44:09 +09:00
bd_
36b13b8192 chore: protect against prefab instances leaking into play mode 2023-09-05 20:16:41 +09:00
bd_
99386fc756 feat: NDMF integration 2023-09-04 23:18:23 +09:00
bd_
51b73fec72 feat: add support for unmangled names and nested merging in MergeArmature 2023-07-30 01:44:53 +09:00
bd_
21373e13bc chore: fix warnings 2023-07-30 01:42:20 +09:00
bd_
f7f9fc773c
fix: SDK 3.2.0-beta.1 compatibility (#289) 2023-04-26 20:20:30 +09:00
bd_
c2e6bb53cd feat: Add error reporting UI 2023-02-08 22:19:10 +09:00
bd_
fb19fd6cc0 fix: simple asset-root toggles are not remapped correctly 2023-01-24 21:41:20 +09:00
bd_
df47be245f fix: duplicate PB stripping fails in some configurations
The previous logic failed when duplicate PBs explicitly specify their root transform.
This change rewrites this logic and expands the cases in which PBs are pruned.
2023-01-17 00:01:08 +09:00
bd_
250e8be54c fix: improve build performance by ~10x
CreateAsset, as it turns out, can be extremely slow, particularly when used on Mesh objects.
By adding our generated objects as sub-objects of a container AnimatorController, we can
minimize this overhead.
2023-01-05 21:30:44 +09:00
bd_
1635b988a9
feat: improved merge armature implementation (#174)
This branch rewrites the merge armature logic to be both simpler and more reliable. In particular, all components in the merged armature will always be moved into the target armature, eliminating the need for complex and unreliable constraint adjustments. I also rewrite the path remapping logic to be more reliable by tracking actual GameObjects, rather than string paths.

This change fixes a number of constraint-heavy outfits, including:

* https://cloudz.booth.pm/items/3751948
* https://capettiya.booth.pm/items/4424678

It also fixes issues with some more advanced use cases, such as animating transforms on bones that are newly added using merge armature.
2023-01-05 04:10:22 -08:00
bd_
df8d0d7981 Workaround Merge Armature breaking parent PBs
The Merge Armature logic is in need of an overall rewrite, but this works around
issues where added (duplicate) bones break PBs in parents, by adding these to parent PB ignore lists.
2022-12-17 00:28:46 -08:00
anatawa12
42d83304ab chore: reduce # of GetComponentsInChildren 2022-12-12 16:14:11 -08:00
anatawa12
664a6c3081 chore: extract mapping constraint source to one method 2022-12-12 16:14:11 -08:00
anatawa12
27bb7b6312 fix: worldUpObject of AimConstraint and LookAtConstraint is not fixed up 2022-12-12 16:14:11 -08:00
bd_
56e08513a5
Prune duplicate PBs on merge armature (#150)
This fixes issues where outfits which duplicate the PB components from the
base avatar can result in PB motion breaking after merge.
2022-12-09 12:39:39 -08:00
bd_
9a38bd8620
Fix some issues caused by nesting AvatarDescriptors (#110) 2022-11-29 09:58:12 -08:00
bd_
ff313f33a9 Avoid exposing a bunch of internal APIs 2022-11-27 13:51:39 -08:00
bd_
318599ae3d The Big Rename
Closes: #84
2022-11-10 20:42:46 -08:00