How do I use layer binding with layers under a group?

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
ruibjr
Posts: 113
Joined: Mon Apr 20, 2009 12:29 am
Location: Brazil

How do I use layer binding with layers under a group?

Post by ruibjr »

When I create a group and move vector layers into it, the "bind layer" button is disabled.
Is there a way to do it, or we can only bin the group layer (the folder itself) to a bone?
Thanks.
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Re: How do I use layer binding with layers under a group?

Post by sbtamu »

ruibjr wrote:When I create a group and move vector layers into it, the "bind layer" button is disabled.
Is there a way to do it, or we can only bin the group layer (the folder itself) to a bone?
Thanks.
Try and bind the layer to the bone b4 you move it into the grp.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
ruibjr
Posts: 113
Joined: Mon Apr 20, 2009 12:29 am
Location: Brazil

Post by ruibjr »

Thanks for the reply.
I did that, but when I move then layer into the group, the binding is lost.
Then, if I move the layer out of the group, the binding starts working again.
So, in other words, when inside the group, the existing binding doesn't work.
Any ideas?
User avatar
slowtiger
Posts: 6257
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

Binding does only work within two neighboured layers. In nested constructions binding doesn't work down to the nested elements.

- bone layer
- - any other layer = binding works.

- bone layer
- - switch or bone or group layer
- - - any other layer = binding does not work.
ruibjr
Posts: 113
Joined: Mon Apr 20, 2009 12:29 am
Location: Brazil

Post by ruibjr »

Thanks, slowtiger.
ruibjr
Posts: 113
Joined: Mon Apr 20, 2009 12:29 am
Location: Brazil

Post by ruibjr »

Slowtiger, can you help me out with this, then?

What I am trying to do is to reveal a line that is behind a mask.
This mask must be rotated based on a certain bone angle.
This will allow me to build a nicer arm for my character.

This is a diagram of what I am trying to acomplish:

[img]http://www.opendrive.com/files/655 ... 0511[/img]

I would like to have the line (layer 3, the red "shape"), to be revealed as the forearm rotates clockwise.
As the arm rotates conterclockwise, that line must be progressively hidden.

Any suggestions on how I could accomplish this?

Thanks,

Rui
User avatar
slowtiger
Posts: 6257
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

The images appears broken, sorry, can't help you.

But I could imagine a setup like this:

- bone layer (hide all)
- - arm layer 1 (don't mask)
- - arm layer 2 (mask this layer)
- - mask layer (add to mask, keep invisible)

You can have more than one layer bound to the same bone.
ruibjr
Posts: 113
Joined: Mon Apr 20, 2009 12:29 am
Location: Brazil

Post by ruibjr »

Thanks, again, slowtiger.

Rui
Post Reply