FPS Weapon Animation Mixing

Hi,

I have two animations, one for firing a weapon and one for “drawing it” / looking down its sights. I would like to be able to blend/mix the two animations together so the player can aim while firing or vica versa but I am unsure of how to do this.

Its important to note, the animations are very simple, the firing only affects rotation and the drawing only affects location. Which is why I thought it might be possible.

Thanks

1 Answer

1

You may want to do something like this:

if (Trigger == ?)

 {
 PlayerAnimSec.animation.CrossFade("NameOfAnimation", 0.4);    
 }

The PlayerAnimSec.CrossFade is VERY Important and if you want it to be more smooth/less smooth. Raise/Lower the 0.4 (It’s just my preference).