Make a character move across different backgrounds layers

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Rnoir
Posts: 18
Joined: Wed Oct 12, 2016 4:07 pm
Location: Buenos Aires, Argentina

Make a character move across different backgrounds layers

Post by Rnoir »

So I'm working on a short film and I need my character to walk across different depht levels on the background.
The screenshots illustrates basically what I want to achieve: I want the character to start from being behind the "Land 01" layer to end up being in front of it.
Any suggestions on how to do that?

From this (the character walks under the "Land 01" layer)
Image

To this (the character ends up walking above the "Land 01" layer)
Image
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Re: Make a character move across different backgrounds layer

Post by jahnocli »

Put both the character and Land01 in a group folder, and swap levels at the appropriate moment. Don't forget to bring up the Depth Sort tag in the Group folder, and check "Enable Animated Layer Order".
You can't have everything. Where would you put it?
Rnoir
Posts: 18
Joined: Wed Oct 12, 2016 4:07 pm
Location: Buenos Aires, Argentina

Re: Make a character move across different backgrounds layer

Post by Rnoir »

Well that was easy. Thank you, jahnocli!
User avatar
Greenlaw
Posts: 9262
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Make a character move across different backgrounds layer

Post by Greenlaw »

That looks very pretty by the way. :)
Gaston
Posts: 77
Joined: Tue Jan 03, 2017 11:24 am

Re: Make a character move across different backgrounds layer

Post by Gaston »

Hi,
I have a question about that. I've a group layer and the 'Enable animated layer order' is turned on.
All my layers are inside the group layer. At picture 24, I want to change the order and drag up one level. But nothing changed.
At the group layer is a new 'layer ordering' symbol and there is a keyframe also. But again in the order of the layers has changed nothing.
Did I accidentally turn off a function?
User avatar
Greenlaw
Posts: 9262
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Make a character move across different backgrounds layer

Post by Greenlaw »

Is it possible that you're using Animated Layer Order inside an Action? That can override being able use this feature on the Mainline. Because of this, I tend to avoid using Animated Layer Order inside an Action. If I need to simulate this effect inside a Smart Bone Action, I might use a Reference layer/group and animate the visibility between the two layers/groups instead.

Another thing to check: Make sure Animated Layer Order is enabled for the group you're animating the layers in. In other words, the effect does not carry into nested groups, nor does it affect layers/groups outside of the group that has Animated Layer Order enabled.
Gaston
Posts: 77
Joined: Tue Jan 03, 2017 11:24 am

Re: Make a character move across different backgrounds layer

Post by Gaston »

Hi Greenlaw,
yes, there is a smart bone action for the bodyturn inside the bone group. Hmm, look at this tutorial: https://www.youtube.com/watch?v=4GtdcZcu7Yg
I thought it was the right way.
Now, I've found a solution: The keyframe to change the layers was too late in the timeline of the bodyturn action.
I've pulled it further forward and now it's working.

Thank you!!
Post Reply