I want the transition to happen from state A to state B if 5 seconds have elapsed in state A. I am not sure how to get the time spent in state a and use it for transition.
Same question here
Hello. try using time remain ratio.
Not working in this case. I want to play a simple pose (so I set the play rate to 0), And want to leave the node after x seconds.
But thanks for your answer!!
Actually I will just do it old school:
- I put an event when entering the state,
- Create a Timer with expected duration
- Exit transition when the timer expires
It works but it is quite heavy for such a simple thing
Thanks for the timer idea. i will look in to it. Maybe there is a simpler way to do it