Hi,
i have different combatants with an ability set as autoattack. This ability uses a battle event to play an animation and activate a damage dealer.
The problem is that the animation sometimes is not actually played, while the damage is correctly applied to the enemy.
In the game, the player uses 4 characters, and the animations seems to work only on the character directly controlled by the player ( while the other are AI-Controlled).
This happens also with the enemies, they run towards the player and just stands still, while they deal damage to the player.
I also added a debug in the battle event and it's shown in the log... but the animation still won't play.
Is this a known bug or common mistake? if needed i'll post some screenshot!
When using Mecanim, it can often be due to current animations or transitions overruling what ORK wants the controller to do. Often it helps adding a short Wait node (e.g. 0.1 second) before playing an animation, e.g. when moving to the target and playing the animation immediately, Mecanim often still uses the movement animation and ignores the attack animation.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
With this setup, the animator controller can play animations based on a float parameter for horizontal (movement) and vertical (up/down) speed. It'll give you more control over how the movement animations will interfere with others, as the complete animation control will be on the animator controller.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!