Playmaker Forum

PlayMaker News => General Discussion => Topic started by: PolyMad on May 08, 2016, 02:31:00 PM

Title: Just to be sure: PlayMaker doesn't work with the Unity animation system?[SOLVED]
Post by: PolyMad on May 08, 2016, 02:31:00 PM
I'm trying and trying, legacy animations etc., but there seem no way to use the damn animation clips from Unity. Is this true?
In case, the only way to work with PlayMaker and animations is to use the imported ones from the model importer of Unity?

Uhhh I'm sorry, maybe this should go in the help section...
Title: Re: Just to be sure: PlayMaker doesn't work with the Unity animation system?
Post by: mdotstrange on May 09, 2016, 12:58:26 AM
If you want to use the "Animation" system which is the Unity legacy animation system you would use these animation actions
(http://i.imgur.com/P9dAFPp.png)

If you want to use the newer "Animator" system you would download and use the Animator actions
(http://i.imgur.com/4EadDTY.png)
Title: Re: Just to be sure: PlayMaker doesn't work with the Unity animation system?
Post by: PolyMad on May 09, 2016, 06:00:47 AM
Ye I fought some hours but the Play Animation command... there's no way to make it work. I marked the animations as legacy etc. no way.
Title: Re: Just to be sure: PlayMaker doesn't work with the Unity animation system?
Post by: Alex Chouls on May 09, 2016, 11:28:54 AM
I just tried it here and it works. Here's what I did:

1. Animate an object in the Animation window, saving an animation clip.
2. Replace the Animator component with the Animation component.
3. Add the animation clip to the Animation component.
4. Select the animation clip and put the Unity Inspector into Debug mode.
5. Change the animation clip Animation Type from 2 to 1.
6. Add an FSM and use the Play Animation action to play the animation clip.

Steps 4 and 5 are required to mark the animation as legacy.

Note, the default Unity workflow now uses Mecanim Animators. When you create an animation clip it automatically adds an Animator component instead of an Animation component, and the animation is setup to work with Animator. You have to jump through some hoops to work the old way with the Animation component...
Title: Re: Just to be sure: PlayMaker doesn't work with the Unity animation system?
Post by: PolyMad on May 10, 2016, 08:30:05 AM
Unity debug mode... don't even know what that is... however, I'll proceed using iTween at the moment, I can proceed with the rest of the game without animations.
I'll dig deep into the animation system later on, thank you.
Is there a way to use the mesh blending?
Title: Re: Just to be sure: PlayMaker doesn't work with the Unity animation system?
Post by: Alex Chouls on May 10, 2016, 11:07:55 AM
Here's how to set legacy mode for animations created in Unity. It's an animated gif, click on it to see it...

EDIT: Recorded that gif in Unity 4.6. In newer versions there is a Legacy flag in the Debug view. Still the gif shows how to enter Debug mode :)
Title: Re: Just to be sure: PlayMaker doesn't work with the Unity animation system?
Post by: PolyMad on May 10, 2016, 02:38:40 PM
OK, great, thank you! :)
Title: Re: Just to be sure: PlayMaker doesn't work with the Unity animation system?[SOLVED]
Post by: kziegler786 on June 01, 2016, 07:23:03 AM
There are so many other application are available for the unity animation system.windows,rotating door,opening door are very easy method for creating  simple animations.it is not sure about playmaker does work with the unity animation system.
Title: Re: Just to be sure: PlayMaker doesn't work with the Unity animation system?[SOLVED]
Post by: PolyMad on June 01, 2016, 12:02:28 PM
The Unity animations system is pretty good for some things, it allows to animate ANY parameter of any object with curves.
I can decide how to open a door in a very detailed manner, like in example beginning slowly, then accelerating, then bouncing back at the end.
And the Unity animation system is there already, and free.