Hi there, we’re working on a shooter where the player can swap between many different weapons. To keep animations down we use the new anim layer system where weapons are controlled in a separate layer for the upper body. Masking is not available yet, but on start-up we simply remove the anim curves that we don’t want to override. So that when you have a weapon, you run the upper body layer on top of the regular base layer run/walk/idle/strafe animations. After some experimenting it now works fine.
But one thing I haven’t figured out is how to turn a layer on/off: when you have no weapon, I see no way to disable the upper-body layer so the base layer can affect the arms again. (I see no “enabled” flag on layers. Changing to an animation with no curves does not work, the bones will stay in the last upper body position. Transitioning to “end” state does not do it either, that’s not what it’s for, it will start again.)
The best solution would be a blend weight on the entire layer just to be able to blend in and out, but a hard toggle on/off would also do.
I know Anim is work in progress, but would be nice if there was a work-around until everything is final. Or maybe I missed something?