Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Selecting Bone Chains / Groups via Animation Rigging UI

Discussion in 'Animation Rigging' started by awesomedata, Nov 18, 2019.

  1. awesomedata

    awesomedata

    Joined:
    Oct 8, 2014
    Posts:
    1,419
    So I'm trying to reverse-engineer the UI portion of the BoneRenderer to allow me to both group multiple bones or select and group entire bone chains (by clicking the first, then the last bone in a chain to select it) so I can then group these too into a list and perform some actions on them.

    I am struggling to find time to reverse-engineer the entire backend UI of the Animation Rigging package just to allow me to grab the correct bones / gameobjects so I can do something with them. It seems like this is mostly already done, but I can't figure out the right entry point to do the sort of thing I'm after. Honestly, it seems like this click operation would be better suited as an EditorTool than some obscure collection of scripts....

    Would anyone be willing to offer some advice on how to approach these two methods of bone selection with this UI? -- It really seems very limiting and painful to modify as-is... :(
     
  2. jnseb

    jnseb

    Unity Technologies

    Joined:
    Oct 3, 2016
    Posts:
    10
    Hello,

    If my understanding is correct you want to create some sorts of a "selection sets" or "group of bones" by leveraging the Bones renderer component... Unfortunately, I don't think it's feasible in the current form of the component...

    We do have an internal team working on addressing this specific issue you are facing (and all the other objects scene management scenarios).

    Until their work is complete you might want to try the Selection Parrot from the asset store... It might by a decent solution for your current needs.

    https://assetstore.unity.com/packages/tools/utilities/selection-parrot-group-select-organize-130053

    Thank you

    Jean-Sebastien
     
    awesomedata likes this.
  3. awesomedata

    awesomedata

    Joined:
    Oct 8, 2014
    Posts:
    1,419
    Despite this being a particularly handy mechanism to have natively (for all sorts of purposes!), this isn't really what I had in mind.

    Specifically, I just wanted to extend the Animation Rigging interface a bit by providing actions that can happen across the selection of bones (up/down a chain, for example) so that constraint components would be easier to add/modify en-masse.

    I don't need proper object groups per-se -- I just wanted to make contextual operations in the scene act on a group of bones easier to apply to, for example, a bone chain or selection of bones. Doing this with something like selection parrot would be too much of a hassle initially.

    Does this make sense?
     
    Last edited: Nov 20, 2019