Exit Time and speed parameters in Anim State Graph have a non-obvious logic

I apply the ‘Jump’ state from the script like this, if it can be relative.

this.skinEntity.anim.baseLayer.transition(state, time, offset);  

In short, when using speed in the state, you need to scale the Exit Time accordingly, otherwise the transition does not occur, even though the Exit Time is declared as a normalized parameter.

Is it my misunderstanding or is this not how it should work?

1 Like

It turned out that the animation component on the entity itself also has a speed parameter that was set to 2 - and it created problems above, not the one (speed parameter) in state, but the question about the lack of obviousness of logic is relevant - why does speed affect transitions?

image

1 Like

This bug also occurs when for example the speed of an animation is set to 0.5 and the Exit time is set to 1 => it won’t transition back automatically.