Hello,
I have noticed in my project that when I attack with a melee weapon, the attack animation will occasionally play twice or more. Could this be an input/framerate issue with it firing multiple times? If so, how could I correct this? Or could it have something to do with the OnAnimatorItemUse and OnAnimatorItemUseComplete in the sword animation being called too early in the timeline? Any help would be greatly appreciated. It may also be useful to mention that I am using a controller for this.
I have noticed in my project that when I attack with a melee weapon, the attack animation will occasionally play twice or more. Could this be an input/framerate issue with it firing multiple times? If so, how could I correct this? Or could it have something to do with the OnAnimatorItemUse and OnAnimatorItemUseComplete in the sword animation being called too early in the timeline? Any help would be greatly appreciated. It may also be useful to mention that I am using a controller for this.