Alyria when I have the mixduration (or delay, they both seem to have the same problem) on the Add/SetEmptyAnimation set to a very small number say below 0.5, the animation seems to rapidly transition between the two states (seems like every frame) and it seems to do this for about half second before resetting to normal.
I'm not sure what is going on here. The video doesn't help because I'm not familiar with your project or how it is supposed to behave. It looks good to me! It seems like when you shoot twice, two recoil animations happen.
If there is a problem with the recoil animation, you'd probably need to create a simple app that ONLY shows this problem so we can take a look. Please don't send an entire app. Make an SSCCE.
Alyria The second problem is that my aiming logic is completely invalidated by the setToSetupPose being processed every frame
Calling setToSetupPose
should not wreck your aiming. Every frame, after you setToSetupPose
and apply your animations, then you adjust your bones for aiming.