Page 1 of 2

Smart Bones and Sub Bone Lyers

Posted: Thu May 21, 2020 10:04 am
by DK
Hi.
Is there a way to get a smart bone on a parent Bone layer to work other bones on sub bone layers?

Example:
Main Bone Layer (Master Control Bone)
Sub bone layer (Slave bone manipulates it's own sub layers)
Sub bone layer (Slave bone manipulates it's own sub layers)

Cheers
D.K

Re: Smart Bones and Sub Bone Lyers

Posted: Thu May 21, 2020 6:31 pm
by hayasidist
Master bone layer has the controlling bone - and that bone has an action that manipulates the slave bones -- and they have actions that manipulate their layers?

Re: Smart Bones and Sub Bone Lyers

Posted: Fri May 22, 2020 4:09 am
by DK
Yes...I can't seem to get it to work? Not possible?

D.K

Re: Smart Bones and Sub Bone Lyers

Posted: Fri May 22, 2020 7:24 am
by DK
I have some success getting one nested sub layer to work but there seems to be a limit to how far nested layers will work for smartbone operations. Can anyone offer some advice?

Thanks
D.K

Re: Smart Bones and Sub Bone Lyers

Posted: Fri May 22, 2020 10:41 am
by hayasidist
yeah - one sublayer works fine -- it breaks at a deeper level of nesting. (There was a lot of discussion around this in a beta forum about 2 years ago - an enhancement request was logged and … well … we all know where we are with Moho development don't we … :roll: :( .)

I did make a lash-up "proof of concept" layerscript that would make any bone (in any bone layer, no matter how remote from a "controlling" bone) follow a controlling bone, but it's not fit for general release (it used hardwired layer and bone names).

Re: Smart Bones and Sub Bone Lyers

Posted: Sat May 23, 2020 6:47 am
by DK
What a pity there is only one tier to smart bones. It's brought me to a grinding halt :(
Oh well. I'll see if I can make some type of workaround.

Cheers
D.K

Re: Smart Bones and Sub Bone Lyers

Posted: Sat May 23, 2020 6:51 pm
by synthsin75
https://sites.google.com/site/synthsin/ ... ects=0&d=1

I can get any number of nested smart bones to work, in v12.5. Maybe I'm missing something in the setup you're attempting.
Seems the only thing to watch out for is duplicating bone names in nested layers.

Re: Smart Bones and Sub Bone Lyers

Posted: Sun May 24, 2020 4:41 am
by DK
Hi Wes.
Thanks for the advice. I'll do a complete reinstall and see what happens.
Cheers
D.K

Re: Smart Bones and Sub Bone Lyers

Posted: Sun May 24, 2020 6:06 am
by synthsin75
Does the file I posted work for you? Is your setup different?

Re: Smart Bones and Sub Bone Lyers

Posted: Sun May 24, 2020 7:35 am
by DK
Hi Wes.
Yes it works great but for some weird reason I can't create anything like it. My Smartbones are broken. I have reinstalled and even tried another computer and I can't get nested bones to work. Even a single layer now is not working properly. I can't get a Smartbone action to rotate another bone. I have to add two bones to get one to work?
Can anyone please download my file and confirm only one of the sub layer bones are rotating? If you check the SB Action they are both supposed to rotate?

www.creativetvandmedia.com/Forum/BrokenBones.moho

Thanks
D.K

Re: Smart Bones and Sub Bone Lyers

Posted: Sun May 24, 2020 8:58 am
by synthsin75
http://www.filedropper.com/brokenbonesedit

It's what I said earlier. The second layer has a bone with the same name as the controlling bone in the top layer.
I've fixed that, created a third bone layer, and made sure it's bone name isn't duplicated in any of the other nested layers. All works as expected here.

Re: Smart Bones and Sub Bone Lyers

Posted: Sun May 24, 2020 10:01 am
by DK
That's odd. I didn't name any of the bones it must've named auto named it.
I'll try again and watch what's going on with the bone names.
Thank you for the heads up Wes!

Cheers
D.K

Re: Smart Bones and Sub Bone Lyers

Posted: Sun May 24, 2020 10:17 am
by DK
Hi Wes.
Thanks again for the help. That ponted me in the right direcction for 2 layers of smarbones but there is still a problem when I try to go down to a 3rd layer of bones. They just don't work on my end and I do not know why?
Here's the file. Is there something I am doing wrong here?


www.creativetvandmedia.com/Forum/BrokenBones2.moho
(Right click save link as)

Thanks
D,K

Re: Smart Bones and Sub Bone Lyers

Posted: Sun May 24, 2020 12:17 pm
by hayasidist
to make it work you need actions for the lower level bones...
right now everything is in the B1 (top level) action. Nested bone control only goes down one level.

IOW (as in Wes's example):
add actions for (second level) B2 and B3 to drive the third level bones (e.g. B2 drives 1; B3 drives 3; they both drive 2)

then add actions for 1,2,3 to do whatever they need to do.

Re: Smart Bones and Sub Bone Lyers

Posted: Sun May 24, 2020 12:38 pm
by DK
Thanks Hayasidist.
I had no idea you ad to keep piling in actions per level. :oops:

cheers
D.K