Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: gl0ckage on December 02, 2015, 06:49:07 AM

Title: I cant get my head around Animations
Post by: gl0ckage on December 02, 2015, 06:49:07 AM
I can animate my sprite fine if i write the code manually and use unitys animator to link states.

However I cannot get the playmaker "play anim" to fire correctly.

Because I am converting my working coded flappy bird game into playmaker I am struggling to actually achieve what my code can do.

I have been trying a few options and I am now at the dead end where it could eb something else.
Video attached to view what I am doing.


Title: Re: I cant get my head around Animations
Post by: crush on December 02, 2015, 03:06:20 PM
Hey I am not sure if this is your issue but you might need your character and animation to be set to legacy to use that play animation action. I had the same issue.
Title: Re: I cant get my head around Animations
Post by: KellyRay on December 02, 2015, 04:08:18 PM
Check out these actions:

https://hutonggames.fogbugz.com/default.asp?W1031

If you wish to use Unity's Mechanim animation system, these are the actions you will want to use.
Title: Re: I cant get my head around Animations
Post by: gl0ckage on December 03, 2015, 04:51:28 AM
Just reading through that link - Thank You.

How do I set animations to Legacy please?
Title: Re: I cant get my head around Animations
Post by: KellyRay on December 03, 2015, 08:48:41 PM
When you import your model, you set the animation type under the rig section:

(http://docs.unity3d.com/uploads/Main/MecanimLegacyRigTab.png)

http://docs.unity3d.com/Manual/Animations.html