modular-avatar icon indicating copy to clipboard operation
modular-avatar copied to clipboard

[Feature request] Add bone scaling edit sync to bone proxy component

Open fuyushi opened this issue 10 months ago • 3 comments

fuyushi avatar Apr 13 '24 16:04 fuyushi

Can you describe the specific behavior you are envisioning in a bit more detail?

bdunderscore avatar Apr 14 '24 00:04 bdunderscore

I would like it to scale bone proxy gameobjects as if theyre currently under the headbone when editing their targets scale. Reason: some accessories like Headbands or glasses may come with a headbone and not a full armature, so if I scaled the head size it wont scale the accessories linked via bone proxy. Currently my workaround is to add to them all gameobjects mimicking necessary for a full armature up to the head bone to use armature link instead

fuyushi avatar Apr 14 '24 07:04 fuyushi

Hmm. Need to think about the UI here - there's already a lot of operating modes for the Bone Proxy component.

Areas of consideration:

  • For modes other than "at root" - do we correct the position offset based on the scale? If so we need to preserve the unity-scale position somehow.
  • What do we do with nonuniform scale? [this is already a problem, I suppose...]

bdunderscore avatar Apr 15 '24 03:04 bdunderscore