Smart Bone switch layer inside a switch layer? [solved]

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
sodiac750
Posts: 8
Joined: Sun Oct 04, 2020 12:31 pm

Smart Bone switch layer inside a switch layer? [solved]

Post by sodiac750 »

I'm having a problem with smart bone for mouth switches.

I have a Mouth Layer which is a switch layer for 5 different switch layers of mouths.
Neutral, Angry, Happy, Scared and expressions.
Each one of those has 13 mouth shapes inside.

Image

I made a smart bone dial for the Mouth Layer which switches between the five mouth types.
That works as it should.

I then made another smart bone dial that should switch mouth shapes inside neutral, angry and so on.
In the actions menu it works, but when I go to the mainline it doesn't. It just stays the same.

Image

I tried re-rigging and made the mouth control bone to switch between Neutral, angry... and it works.
Just doesn't work with switch layer inside a switch layer.

Can I not make smart bone dials for a switch layer inside a switch layer?
Last edited by sodiac750 on Mon Oct 05, 2020 4:56 pm, edited 1 time in total.
User avatar
Víctor Paredes
Site Admin
Posts: 5814
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Smart Bone switch layer inside a switch layer?

Post by Víctor Paredes »

Could you post the file?
I have an idea about what it could be happening, but it's hard to guess without checking the layers.
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
sodiac750
Posts: 8
Joined: Sun Oct 04, 2020 12:31 pm

Re: Smart Bone switch layer inside a switch layer?

Post by sodiac750 »

Yeah, sure. I'll send you the file over private msg.
User avatar
hayasidist
Posts: 3831
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Smart Bone switch layer inside a switch layer?

Post by hayasidist »

I've put together a test set up with just 3 "types" and 4 "phonemes" - with the two smart bones in the "type" switch layer -- and it works as it should.


so what you're doing SHOULD work ...

but a common issue with bones used in actions is that _visually_ a bone's angle is the same as is keyed in the action, but actually (numerically) the timeline (mainline) bone angle is offset by multiples of 360 degrees.

IOW: a bone that LOOKS as though it's at 0 degrees might have been turned "the wrong way" and actually be at -360 degrees... but the action has been keyed from (say) 90 through 0 to -180 and on to -270 -- the -360 never appears in the action so "nothing happens" when the bone turns from what you think is 0 (actually -360) on to what is visually -180 (but is actually -540)

In your diagram the mouth control SB might be at -180 or +180 ...

and the mouth switch SB is (probably) active from 90 to 180 -- but might be -270 to -180 or ...


hope that helps... if not --- just come back ...
sodiac750
Posts: 8
Joined: Sun Oct 04, 2020 12:31 pm

Re: Smart Bone switch layer inside a switch layer?

Post by sodiac750 »

So I didn't change anything, just restarted my pc and now it works. So I guess something was bugged.

Thanks for your help, guys!
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Re: Smart Bone switch layer inside a switch layer? [solved]

Post by jahnocli »

I have a question - how can you be happy in a neutral way?
You can't have everything. Where would you put it?
User avatar
synthsin75
Posts: 10253
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Smart Bone switch layer inside a switch layer? [solved]

Post by synthsin75 »

jahnocli wrote: Mon Oct 05, 2020 5:25 pm I have a question - how can you be happy in a neutral way?
Zen
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Re: Smart Bone switch layer inside a switch layer? [solved]

Post by jahnocli »

ha ha! Classic
You can't have everything. Where would you put it?
Post Reply