Commit Graph

17 Commits

Author SHA1 Message Date
bd_
4aa46d2277 WIP: VPM bone mapping support 2024-02-17 18:37:54 +09:00
kaikoga
5359e3b006
chore: Fix non-VRChat support (#650)
* add referenced assembly

* remove unused usings

* MA Merge Blend Tree is VRC specific

because it expects VRC style Animator Layer setup

* PruneParametersPass is VRChat specific

* fix: use FindAvatarTransformInParents() to be more cross platform

* fix MergeArmatureHook: nop logic for PhysBones if we do not dedup PhysBones

* fix AnimatorCombiner: ignore VRC components when non-VRC

btw, is AnimatorCombiner VRC specific?

* conditional compile some VRChat specific tests
2024-02-12 14:59:23 +09:00
bd_
2751c88fea
fix: scale adjuster's hidden bones don't block PBs (#653) 2024-02-05 22:02:53 +09:00
bd_
1fc9c2d4ac
feat(params): Allow for MA Parameters to _not_ specify a default value (#636)
* feat(params): track whether a default value was explicitly set

* feat(params): improve default value resolution and error handling
2024-01-28 14:27:43 +09:00
bd_
29e0671cfe
fix: incorrect behavior when parent of a MA Move Independently moves (#596) 2023-12-28 17:58:37 +09:00
bd_
f0a4db0a06
fix: some issues where MoveIndependently did not properly update (#587) 2023-12-27 20:47:25 +09:00
bd_
2650566f9a
feat: add a component to perform nonuniform scale adjustments (#583) 2023-12-27 20:29:51 +09:00
bd_
93aa4db3e8
fix: zero scale on outfit destroys transform data (#577)
Closes: #574
2023-12-26 16:10:38 +09:00
bd_
aa698565ab
feat: add merge blend tree component (#572)
* chore: refactor state machine clone logic out as a separate class

* feat: add layer priority and relative path root options to Merge Animator

* feat: add Merge Blend Tree component

* chore: adjust NDMF dependency

* docs: update merge-animator docs

* docs: merge blend tree docs
2023-12-22 17:17:40 +09:00
anatawa12
0e243aa4c6
fix: Erros in Unity 2022 due to GetBoneTransform (#550) 2023-12-12 19:49:32 +09:00
bd_
e7a7cba16d
chore: don't use GUIDs to reference asmdefs (#529) 2023-11-12 20:10:04 +09:00
kaikoga
3667dc319a
chore: Wrap VRC dependencies and VRCAvatarDescriptors (#504)
* add version defines

* refactor: prefer BuildContext.ctor() overload taking GameObject

* wrap unit tests entirely with MA_VRCSDK3_AVATARS

* wrap unit tests smart with MA_VRCSDK3_AVATARS

* wrap runtime entirely with MA_VRCSDK3_AVATARS

* wrap VRC.SDKBase.IEditorOnly with MA_VRCSDK3_AVATARS

* wrap editor entirely with MA_VRCSDK3_AVATARS

* fix AvatarObjectReference.Get(Component)

* wrap editor smart with MA_VRCSDK3_AVATARS

* wrap BuildContext smart with MA_VRCSDK3_AVATARS

* wrap PluginDefinition smart with MA_VRCSDK3_AVATARS

* style: move conditional compiles one step outside
2023-11-10 15:37:56 +09:00
bd_
a98b8fb457
feat: add UI for setting outfit position to match base avatar (#521) 2023-11-09 22:06:18 +09:00
kaikoga
ae7103cf82
chore: use ndmf Avatar Root api where applicable (#482)
* expose ndmf AvatarRoot APIs through ma.RuntimeUtil

* refactor: prefer RuntimeUtil helpers for checking avatar root

* refactor: ndmf.BuildContext represents Avatar (log)

* refactor: ndmf.BuildContext represents Avatar (WorldFixed)

* refactor: ndmf.BuildContext represents Avatar (FirstPersonVisible)

* refactor: ndmf.BuildContext represents Avatar (BlendShapeSync)

* refactor: prefer FindAvatarTransformInParents() (ErrorReportUI)

* refactor: prefer FindAvatarTransformInParents() (Runtime)

* refactor: prefer FindAvatarTransformInParents() (Editor)

* delegate more ndmf AvatarRoot APIs through ma.RuntimeUtil
2023-10-15 18:44:53 +09:00
anatawa12
939e63c297
add HelpURL Attribute (#491)
* add HelpURL Attribute

Now you can open website with clicking ? button on the inspector

* docs: use language redirect

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2023-10-11 20:40:26 +09:00
bd_
491cb97fb1
fix: null reference errors when apply on play triggers late (#490)
When an avatar is enabled after the scene is initially loaded, Merge Armature
would result in a lot of NullReferenceExceptions being logged.
2023-10-09 18:59:50 +09:00
bd_
ddbc3b164b
chore: restructure repository to put package at top-level (#477)
* chore: rearrange package structure to have the package at the root

* ci: update CI workflows

* ci: fixing workflow bugs

* ci: recurse building .zip package

* ci: more fixes

* ci: add back in the nadena.dev VPM repo

* ci: fix tests
2023-10-08 15:39:57 +09:00