playMaker

Author Topic: Animation Problem  (Read 1430 times)

H1DEO1

  • Playmaker Newbie
  • *
  • Posts: 1
Animation Problem
« on: September 06, 2018, 01:55:24 PM »
My player objects refuses to show the attack animation when he collides with the capsule.

https://ibb.co/iZVZXz

as you can see in the animation parameters, everything is unchecked or at 0 except for "ATTACKING"

My player object has a parent object that stores the child (which is the character)

In OBJ_PLAYER1, the FSM inside this object calls the child FSM from T2 to play the Mecanim animations from the Animator.

https://ibb.co/mNxsKe
https://ibb.co/jKGmee
https://ibb.co/jgSEXz   


From there, T2's FSM operates using global events to trigger the animator parameters:

https://ibb.co/hxHEXz
https://ibb.co/n59Tsz
https://ibb.co/jA0CKe

Maybe there is something small I am forgetting to uncheck or check but it is getting to the point where I am changing object parameters that have nothing to do with this issue and its creating more problems!

Thanks.
« Last Edit: September 10, 2018, 08:54:00 AM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Animation Problem
« Reply #1 on: September 10, 2018, 09:01:31 AM »
Hi.
From the 1st picture i see, there might be transition issues in the animator.

I can see 'Walk tree' running, but i don't think that there is an outgoing  transition with the 'ATTACKING' Condition.

Also instead of bools, you might want to use triggers (depending on your setup)
and use 'Any State' to transition to the different states.