Hi,
I am having some issues with my agents to handle concurrent Damage Visualization and (Weapon) Use.
Here are the behaviors that I am expecting :
- when my agent gets hit while performing a light attack, I want his attack (animation) to stop and be replaced by a damage visualization
- when my agent gets hit while performing a heavy attack, he should take damage but without stopping the attack (animation). There should be no hit animation.
- when my agent hit animation is being played, he should not be able to attack.
I am having a lot of trouble to achieve this. Right now, the result is pretty random.
I am a little confused because I am not sure how I should handle all this. Should I do it in the inspector (by configuring the agent's ability priorities or some other parameters), in the behavior designer or in the animator by playing with the transitions and conditions... Maybe a mix of everything. I really don't know because that kind of situation is very hard to debug and understand.
Could you please advise me?
I am having some issues with my agents to handle concurrent Damage Visualization and (Weapon) Use.
Here are the behaviors that I am expecting :
- when my agent gets hit while performing a light attack, I want his attack (animation) to stop and be replaced by a damage visualization
- when my agent gets hit while performing a heavy attack, he should take damage but without stopping the attack (animation). There should be no hit animation.
- when my agent hit animation is being played, he should not be able to attack.
I am having a lot of trouble to achieve this. Right now, the result is pretty random.
I am a little confused because I am not sure how I should handle all this. Should I do it in the inspector (by configuring the agent's ability priorities or some other parameters), in the behavior designer or in the animator by playing with the transitions and conditions... Maybe a mix of everything. I really don't know because that kind of situation is very hard to debug and understand.
Could you please advise me?
Last edited: