Smart Bones and Sub Bone Lyers

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

User avatar
DK
Posts: 2496
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Smart Bones and Sub Bone Lyers

Post by DK » Thu May 21, 2020 10:04 am

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
hayasidist
Posts: 2200
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Smart Bones and Sub Bone Lyers

Post by hayasidist » Thu May 21, 2020 6:31 pm

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?
User avatar
DK
Posts: 2496
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Smart Bones and Sub Bone Lyers

Post by DK » Fri May 22, 2020 4:09 am

Yes...I can't seem to get it to work? Not possible?

D.K
User avatar
DK
Posts: 2496
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Smart Bones and Sub Bone Lyers

Post by DK » Fri May 22, 2020 7:24 am

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
hayasidist
Posts: 2200
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Smart Bones and Sub Bone Lyers

Post by hayasidist » Fri May 22, 2020 10:41 am

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).
User avatar
DK
Posts: 2496
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Smart Bones and Sub Bone Lyers

Post by DK » Sat May 23, 2020 6:47 am

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
User avatar
synthsin75
Posts: 7254
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Smart Bones and Sub Bone Lyers

Post by synthsin75 » Sat May 23, 2020 6:51 pm

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.
User avatar
DK
Posts: 2496
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Smart Bones and Sub Bone Lyers

Post by DK » Sun May 24, 2020 4:41 am

Hi Wes.
Thanks for the advice. I'll do a complete reinstall and see what happens.
Cheers
D.K
User avatar
synthsin75
Posts: 7254
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Smart Bones and Sub Bone Lyers

Post by synthsin75 » Sun May 24, 2020 6:06 am

Does the file I posted work for you? Is your setup different?
User avatar
DK
Posts: 2496
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Smart Bones and Sub Bone Lyers

Post by DK » Sun May 24, 2020 7:35 am

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
User avatar
synthsin75
Posts: 7254
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Smart Bones and Sub Bone Lyers

Post by synthsin75 » Sun May 24, 2020 8:58 am

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.
User avatar
DK
Posts: 2496
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Smart Bones and Sub Bone Lyers

Post by DK » Sun May 24, 2020 10:01 am

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
User avatar
DK
Posts: 2496
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Smart Bones and Sub Bone Lyers

Post by DK » Sun May 24, 2020 10:17 am

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
hayasidist
Posts: 2200
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Smart Bones and Sub Bone Lyers

Post by hayasidist » Sun May 24, 2020 12:17 pm

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.
User avatar
DK
Posts: 2496
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Smart Bones and Sub Bone Lyers

Post by DK » Sun May 24, 2020 12:38 pm

Thanks Hayasidist.
I had no idea you ad to keep piling in actions per level. :oops:

cheers
D.K
Post Reply