Skip to main content
F
3mo ago

Exit Time not working

I have a very simple state machine. Only 2 states. I want the first state to play and then at one point it will be interrupted by a boolean or a trigger and it should instantaneously cut to the 2nd animation, no transition, 0 exit time.

Even with Exit time set to 0 and I've tried using Pause when exiting, nothing works. The transition does happen when I want, BUT the first animation always keeps playing for a few seconds simultaneously with the 2nd state. So why isn't the Exit time working? Ive been at it for hours and watched many tutorials.

Ideas? I'm desperate.

Specs:

Mackbook Pro / Ventura 13.5 / Rive BETA 0.8.1808 R

3 replies
F
J
J
3mo ago

Does your second animation override the properties of the first animation? For example if you have object 1 going from 0 to 10 and back again in x in the first animation and then another object scaling from 100% to 50% in the second, I believe the first one will play out. Check all the properties in the first one and make sure the relevant ones are set.

F
3mo ago

Thanks for the help Joel. I get what you mean but I checked and I'm not sure thats making a difference. I failed to mention before that the 2 animations are nested art boards being played on a main stage art boards state machine. Basically the first animation won't stop looping, it completely ignores the state machines Exit options. I could only get it to stop looping when I turned off the loop and I had it simply play 3 times in the timeline, but even then it still plays out after the transition. Must be something related with the nesting or other artboards but I dont understand it.

F
(edited) 3mo ago

Here is my setup, Ive tried it as well with all the Exit time options as well and it makes no difference, must be something I'm missing.