I broke the Right Pistol Reload animator controller

Kutlu

New member
Hi Opsive,

I copied the demo animator controller (with the intention of swapping certain animations with those that I bought in the asset store, and discarding a portion of it), then I switched the right pistol reload animation in the arms layer. This broke the animator controller because the character doesn't move out of the reloading animation.

Normally, when reloading the right pistol, the slot0ItemStateIndex turns to 3, and afterwards, when the reload animation is over, it becomes 0 again.

This stopped happening when I switched the placeholder animation with my own.

Any idea why this might be happening?Screenshot 2022-10-14 020300.png
 
The solution went like this: Shootable Weapon (Script) -> Reload -> Untick 'Wait for animation event' in Reload Event and set the duration to 0.05 -> Untick 'Wait for animation event' in Reload Complete Event and set the duration to 1.
 
Top