Hey guys,
In my AnimGraph I have two states:
I’m encountering a problem when going from the Brake Forward
state to the Jog Forward
state. This transition fires when the Blend Space animation completes. I check this using Get Relevant Anim Time Remaining
and checking that is smaller than a very small amount (< 0.01) to allow the animation to fully complete.
This is the problem: when the Brake Forward
state is active (i.e., animation Blend Weight == 1) the Playback Time reaches 0.99 and then the transition correctly fires. However, during the transition where the two states are blending the Playback Rate of the Brake Forward Blend Space resets (as if it’s looping) and starts playing the Brake Forward
Blend Space animation again until the transition is over and the Jog Forward
Blend Space takes over. You can see in the below picture the Playback time plotted below the two active states (the first one is Jog Forward
the second one is Stop Forward
)
The question is: how can I prevent the playback time from restarting when the transition fires? (I already unchecked loop properties)
Thank you in advance for helping.