3 Years Ago
Citizen/animgraph: third draft iteration of the weapon branch refactor - The "long idle" state is now handled through a generic State Machine at the very end of the graph, which turns a Tag on. This tag is then looked at by a SM at the pose stage. - Transitions in & out of long idle are improved. - Likewise, there's a State Machine near the end of the graph which turns a Tag on if Handedness has changed in the last 500ms. - Branch IK management doesn't work off of other states anymore but on Tags which animation clips control. I'm using one "contextual" tag; for Pistol 2H the tag disables IK, for RH it enables—because the defaults are opposite. - Draw additives are smart now; they can trigger from handedness changes. But they won't do it in the middle of actions! Try reloading and changing handedness mid-reload... it'll still look good! - Blending in and out of reload while crouched is somewhat improved. - I think all the weird reset/snap quirks should be out of the way now. - Pistol RH aim feels a lot nicer. - A bunch more grouping and cleaning (still) * (Long idle on SMG/Shotgun is disabled until they get the refactor treatment)