Trigger a switch from another switch?

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
xian
Posts: 19
Joined: Wed Sep 14, 2005 7:50 pm
Location: Cleveland, OH

Trigger a switch from another switch?

Post by xian »

I have a character with 5 head positions and hair. When he looks straight ahead and 45 degrees left & right, the hair needs to be behind the the head and the body. When looking hard left and right, the hair can be in front of the body.

Since the head is in front of the body in a switch layer, is there a way to trigger the hair switch layer with the choice of head? Or do I need to select them manually

Does that even make sense?
Can I get a blue spot?
myles
Posts: 821
Joined: Sat Aug 21, 2004 3:32 am
Location: Australia, Victoria, Morwell
Contact:

Post by myles »

How about including the hair with the head switch layers?
Switch sub-layers can be group layers with their own sub-layers, if you want to keep the hair on its own layer rather than on the same layer as the head, although this means losing some of the benefits of using the switch layer as a bone layer.

Otherwise, you could probably do it with an embedded script, if you're willing to delve into scripting or can convince one of the scripting guys.

Regards, Myles.
"Quote me as saying I was mis-quoted."
-- Groucho Marx
User avatar
xian
Posts: 19
Joined: Wed Sep 14, 2005 7:50 pm
Location: Cleveland, OH

Post by xian »

Thanks for the reply Myles.

The problem is that the head needs to be in front of the body and the hair behind. If the hair were included with the head switch layer, the long hair would appear on top of his shoulder.

Since I know nothing of scripting, much less how to embed them, I will take the manual route.
Can I get a blue spot?
User avatar
Rai López
Posts: 2293
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

I'm not entirely sure if I've understood the problem... but I think that this could be a clear example to see what USEFUL it'd be my old Feature Request "Always Visible" check box to sub-switch layers... (I think) 8)
User avatar
2ner
Posts: 171
Joined: Wed Aug 04, 2004 1:14 pm

Post by 2ner »

How about copying the hair switch layer and putting one in front and one behind the head layer. Then make the appropriate layers blank.
User avatar
mr. blaaa
Posts: 622
Joined: Sun Jul 31, 2005 12:41 am
Location: ---
Contact:

Post by mr. blaaa »

jepp, as far as i can understand i would work with invisible clones until Ramòn's feature will be implanted in moho or a script to solve the workarounds will come along.

Copy the hair Layers and put them in front of the head (order of layers) and make them invisible in the timeline.
If you need the head to turn to hard right/left make them visible again.

This is just a workaround, so maybe there is a handier solution i don't know besides integrating the head into the hair layer or other way round.

Regards, hope you understand what i am typing. :wink:
Image
User avatar
7feet
Posts: 840
Joined: Wed Aug 04, 2004 5:45 am
Location: L.I., New Yawk.
Contact:

Post by 7feet »

Well, hell, I'm going to have some time to diddle with a few of the scripts I was working on tommorow so maybe I'll throw another one in there. I think it would be pretty easy to amke an embedded script that would just set one switch layer in a group to use the switch data from another switch layer. I'll see what I can do.
User avatar
mr. blaaa
Posts: 622
Joined: Sun Jul 31, 2005 12:41 am
Location: ---
Contact:

Post by mr. blaaa »

yeeehaw! :D
Image
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

7feet wrote:Well, hell, I'm going to have some time to diddle with a few of the scripts I was working on tommorow so maybe I'll throw another one in there. I think it would be pretty easy to amke an embedded script that would just set one switch layer in a group to use the switch data from another switch layer. I'll see what I can do.
A script like that would help me save a LOT of time on my work. If you manage to do one 7feet you would make me very happy!
User avatar
7feet
Posts: 840
Joined: Wed Aug 04, 2004 5:45 am
Location: L.I., New Yawk.
Contact:

Post by 7feet »

User avatar
mr. blaaa
Posts: 622
Joined: Sun Jul 31, 2005 12:41 am
Location: ---
Contact:

the boss

Post by mr. blaaa »

7feet, you are a boss player :wink:
Image
Post Reply