playMaker

Author Topic: Play two animations at once  (Read 86 times)

MatiasHarder

  • Playmaker Newbie
  • *
  • Posts: 47
    • View Profile
Play two animations at once
« on: August 14, 2017, 07:39:35 AM »
Hello I would like to know if there is any way to play two animations at once please tell me..

What I am doing:
I would like my character while playing the animation of running that reproduces that of attacking without stopping to run, do you know any way to make this possible? The game is a 2d rpg.


RUN+ATTACK Whitout stopping run.

tcmeric

  • Sr. Member
  • ****
  • Posts: 480
    • View Profile
Re: Play two animations at once
« Reply #1 on: August 14, 2017, 11:32:02 AM »
You either need to get one animation that has both run and attacking in the same animation.

Or use animation layers in unity mechanim. Watch this intro video to 2d game on unity. Check around 10:50.
https://unity3d.com/learn/tutorials/topics/2d-game-creation/2d-game-development-walkthrough

You can trigger this using playmaker instead of scripts (like the video), but first you need to learn to setup animation layers in mechanim.

« Last Edit: August 14, 2017, 11:34:21 AM by tcmeric »