I've got a nicely working, slightly-modded QuickStart ability that works for both walking and running movement starts. As the animations I'm using also include starting root-motion animations for crouch walking, I'm trying to have my QuickStart ability play them as well, when the player is crouched and starts moving.
I've added an equivalent state machine (blend tree) for the starting crouch-walk animations as I have for walk and run starts, created the proper transitions, and muted all other transitions that used to handle movement while crouching. But I've noticed that the height change ability seems to block my QuickStart ability from ever starting, so the correct parameters are never supplied to the animator and the state never changes from an idle crouch.
In trying to trace this back though the ability parent classes, the best I can see is that m_LastCanStartFrame != Time.frameCount in the parent class StoredInputAbilityBase, and that's returning false for CanStartAbility(). This also happens when using the stock QuickStart ability instead of my own.
m_LastCanStartFrame is set to -1 by default. But I'm unclear how that would relate to stopping motion while crouched, as it does not, when not crouched.
Anyone else run across this or a similar issue?
I've added an equivalent state machine (blend tree) for the starting crouch-walk animations as I have for walk and run starts, created the proper transitions, and muted all other transitions that used to handle movement while crouching. But I've noticed that the height change ability seems to block my QuickStart ability from ever starting, so the correct parameters are never supplied to the animator and the state never changes from an idle crouch.
In trying to trace this back though the ability parent classes, the best I can see is that m_LastCanStartFrame != Time.frameCount in the parent class StoredInputAbilityBase, and that's returning false for CanStartAbility(). This also happens when using the stock QuickStart ability instead of my own.
m_LastCanStartFrame is set to -1 by default. But I'm unclear how that would relate to stopping motion while crouched, as it does not, when not crouched.
Anyone else run across this or a similar issue?