Page 1 of 1

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

Posted: Mon Oct 05, 2020 1:21 pm
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?

Re: Smart Bone switch layer inside a switch layer?

Posted: Mon Oct 05, 2020 3:25 pm
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.

Re: Smart Bone switch layer inside a switch layer?

Posted: Mon Oct 05, 2020 4:28 pm
by sodiac750
Yeah, sure. I'll send you the file over private msg.

Re: Smart Bone switch layer inside a switch layer?

Posted: Mon Oct 05, 2020 4:37 pm
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 ...

Re: Smart Bone switch layer inside a switch layer?

Posted: Mon Oct 05, 2020 4:55 pm
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!

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

Posted: Mon Oct 05, 2020 5:25 pm
by jahnocli
I have a question - how can you be happy in a neutral way?

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

Posted: Mon Oct 05, 2020 7:18 pm
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

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

Posted: Tue Oct 06, 2020 3:20 am
by jahnocli
ha ha! Classic