I want the character to be able to make melee attacks and jump or viceversa. This was being blocked in the UsesItemActionType method in the Use class inherited from ItemAbility. I disabled it by returning true.
Now I'm wondering how to create a blending between the jumping and attacking animations.
I also know that the rifle has something like that but I don't know how to implement it for the swords...
C#:
if (startingAbility is Jump) {
for (int i = 0; i < m_UsableItems.Length; ++i) {
if (m_UsableItems[i] is MeleeWeapon) {
return true;
}
}
}
Now I'm wondering how to create a blending between the jumping and attacking animations.
I also know that the rifle has something like that but I don't know how to implement it for the swords...