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.
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.
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?
Smart Bone switch layer inside a switch layer? [solved]
Moderators: Víctor Paredes, Belgarath, slowtiger
Smart Bone switch layer inside a switch layer? [solved]
Last edited by sodiac750 on Mon Oct 05, 2020 4:56 pm, edited 1 time in total.
- Víctor Paredes
- Site Admin
- Posts: 5664
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: Smart Bone switch layer inside a switch layer?
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.
I have an idea about what it could be happening, but it's hard to guess without checking the layers.
Moho Product Manager
www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
Re: Smart Bone switch layer inside a switch layer?
Yeah, sure. I'll send you the file over private msg.
- hayasidist
- Posts: 3523
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Smart Bone switch layer inside a switch layer?
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 ...
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?
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!
Thanks for your help, guys!
Re: Smart Bone switch layer inside a switch layer? [solved]
I have a question - how can you be happy in a neutral way?
You can't have everything. Where would you put it?
- synthsin75
- Posts: 9973
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Smart Bone switch layer inside a switch layer? [solved]
Zen
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Smart Bone switch layer inside a switch layer? [solved]
ha ha! Classic
You can't have everything. Where would you put it?