playMaker

Author Topic: FBX character animation to Playmaker [SOLVED]  (Read 4652 times)

hcheung

  • Playmaker Newbie
  • *
  • Posts: 5
FBX character animation to Playmaker [SOLVED]
« on: October 27, 2014, 06:55:06 AM »
Hi,
I just purchased playmaker and recently updated to unity pro to 4.5.
Now doing a test by importing a character with animations into unity, then use playmaker to connect the action. 

Objective:  to have the "attack" animation activated by a GUI button 

Problem: the GUI button is there, but the animation is not playing.  it seems like "play animation" function is not working for me.
And the only way to have "idle" animation playing is "Play Automatically" in Animation component must be checked.

I'm not a coder and still new in both playmaker and unity. 
Pls enlighten me:)

see my setup in the picture attached. 
Thank you!
« Last Edit: October 30, 2014, 02:36:40 AM by hcheung »

hcheung

  • Playmaker Newbie
  • *
  • Posts: 5
Re: FBX character animation to Playmaker
« Reply #1 on: October 27, 2014, 06:59:45 AM »
hmm.. i hope i didn't forget the attachment. 

robmyers67

  • Playmaker Newbie
  • *
  • Posts: 14
Re: FBX character animation to Playmaker
« Reply #2 on: October 27, 2014, 04:42:59 PM »
Hi, take a look at mechanism and state machines. You also need the animator package for playmaker. Rig your character as humanoid. Open animator window and create a new state. You can assign animations to each state. You won't be playing an animation in the fsm put you will be setting the animator to play the sate you want. Once you get your head round this you can create blends and all sorts of wonderful things. The beauty of mechanism is that you can use animations from different characters. Also check out mix amp for animations and rigging.

Cheers Rob

robmyers67

  • Playmaker Newbie
  • *
  • Posts: 14
Re: FBX character animation to Playmaker
« Reply #3 on: October 28, 2014, 04:25:29 AM »
sorry spelling error, check out Mixamo for animations etc.

hcheung

  • Playmaker Newbie
  • *
  • Posts: 5
Re: FBX character animation to Playmaker
« Reply #4 on: October 28, 2014, 05:08:25 AM »
Hi robmyers67,
thanks for suggesting mixamo. 

But for the time being I would like to know how to solve this problem first. I think what i'm trying to achieve is quite basic, and it should be doable in playmaker.

Hope someone can five me a pointer.

robmyers67

  • Playmaker Newbie
  • *
  • Posts: 14
Re: FBX character animation to Playmaker
« Reply #5 on: October 28, 2014, 07:54:53 AM »
Hi,
You can do it in playmaker but as I say you need to use mechanim for it to read the animations as individual elements. you also need to use the mechanim playmaker package for you to activate the animations
I noticed on you screen dump you have all the animations pre set.
So it should be straight forward.
The character will need its avatar seeting up with an animator component added.
The screen images attached show the mechanim working with its base animation and another animation added. These can be blended together and do all kind of wonderful things.

all in Playmaker!

Cheers

Rob

hcheung

  • Playmaker Newbie
  • *
  • Posts: 5
Re: FBX character animation to Playmaker [SOLVED]
« Reply #6 on: October 28, 2014, 10:51:24 AM »
Hi Rob,
Thanks so much for the explanation & screen caps
I will try it again tomorrow.

God bless.
« Last Edit: October 30, 2014, 02:36:21 AM by hcheung »

hcheung

  • Playmaker Newbie
  • *
  • Posts: 5
Re: FBX character animation to Playmaker
« Reply #7 on: October 30, 2014, 02:34:11 AM »
It works!

Thanks Rob

robmyers67

  • Playmaker Newbie
  • *
  • Posts: 14
Re: FBX character animation to Playmaker [SOLVED]
« Reply #8 on: October 30, 2014, 09:17:49 PM »
No Problem,
Now get your head around the blending of layers and you will never look back.
Glad it worked

Rob