Character movement it works perfectly. Some animations in battle work very well too, like "Damage", "Evade", "Victory".
I set a mecanim animation for all States in the Ork framework, but in the battle, when I attack, cast a spell or use an item. None of these actions plays the animation. How I could make them work?
As @Wrofir said, for your attack or a spell to be animated, you need to set that up in a battle event that's used by the ability or item. Only certain animations are automatically called by ORK (e.g. damage and evasion, or idle/movement animations when using auto animations on your combatant), the rest is up to you to animate.
The game tutorials go through all of that, so I'd highly recommend to do them if you haven't yet :)
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
What's happening before the animation is called by the event? E.g. if the combatant was previously moving, the animator might currently be in transition to the idle animation. Try adding a Wait node (e.g. 0.1 second wait) before the Combatant Animation node.
If your cast animation is played by the cast parameter in your animator controller, try setting up the parameter in ORK's animation setup.
Also, make sure the used combatant's animation System Type is set to Mecanim and uses the correct animation setup (both found at the bottom of the combatant's settings).
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
For abilities and stuff you should just call the mecanim animation from the event itself
The game tutorials go through all of that, so I'd highly recommend to do them if you haven't yet :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I try to use the cast event and set the Cast animation just like the image below:
I set up the Cast animation on Base/Controls -> Animation -> Default Mecanim, see the image below:
But still didn't work, what else I need to do to make this work?
If your cast animation is played by the cast parameter in your animator controller, try setting up the parameter in ORK's animation setup.
Also, make sure the used combatant's animation System Type is set to Mecanim and uses the correct animation setup (both found at the bottom of the combatant's settings).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!