Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MatiasHarder on August 14, 2017, 10:39:35 AM

Title: Play two animations at once
Post by: MatiasHarder 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.
Title: Re: Play two animations at once
Post by: tcmeric 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.