Syncing Animation playrate to fire rate

Hello,

I’am trying to synchronize my weapons firing rate to the fire animation of my character as we have alot of weapons with generated fire rate.

the minimum fire rate is 2.0f while the maximum is 0.5f

For the minimum play rate it is 0.5f while the maximum is 2.0f

I tried to use Map Range Clamped and Unclamped but there was always a delay when my firing rate is 1.823 or something. Anyone knows anything else I could try?

Thanks

Generally to time an event to an animation, you’ll want to add an AnimNotify on the anim asset itself. With this, you can make an event in your Animation Blueprint which can send the event to your Pawn or wherever your firing logic is.

It looks like you are already having the guns adjust animation play rates and Anim Notifies will be scaled with that too. This way, the fire rate is always synced exactly with the animation.