Question by
gabenator123 · Feb 04, 2016 at 11:50 PM ·
animationmecanimanimator controllertransitionanimationstate
Mecanim, get state percent complete when a transition occurs?
I'm using mecanim for a few things, and one of them is charging up the weapon. I need to get the percent complete the charge animation has played to figure out how charged up the weapon is. Problem is that the firing state interrupts the charging state, which is intended behavior. This means that I get back 0 when I read the animationStateInfo when the fire animation plays. Is there any way to get around this?
Thanks.
Comment