playMaker

Author Topic: Change between animator layers?  (Read 646 times)

InThAfAcE

  • Playmaker Newbie
  • *
  • Posts: 11
Change between animator layers?
« on: February 14, 2021, 06:14:04 PM »
Hi.

I'm trying to make some zombie animations.

I don't know if this is the right way to do it but I have to animation layers in my animator. One layer is the where the idle animation is "zombie walk" with other animations and transitions around it. The other one is where the idle animation is "zombie run" with the same animations and transitions around it, as the first animator layer.

My questions is: Is there a way to change between animator layers with Playmaker?

Or is this not the right way to do it? Maybe there is a way to change the idle animation in the first animator layer?

Basic stuff .. i know. But I'm new to this stuff

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Change between animator layers?
« Reply #1 on: February 15, 2021, 09:38:29 AM »
Hi.
You can use parameters and set those to manipulate to run or walk.

For example you could use a float (speed) and check if greater than 5 (for example)
then go to run, if lesser go to walk.

you can also use the Action Animator Play and play Animations directly from playmaker.