playMaker

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

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
Play two animations at once
« on: August 14, 2017, 10: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

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Play two animations at once
« Reply #1 on: August 14, 2017, 02:32:02 PM »
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, 02:34:21 PM by tcmeric »