I have an animation running over 8 seconds from A to B. I’m trying to figure out a good way to set up the anim component so that me as the user can do the following:
Toggle the animation on a button, so that it runs forwards and backwards for each click.
Make it so that it does nothing if user clicks while it’s in motion.
Sounds simple enough but I’ve banged my head against the state machine vs doing it by code, using speed multipliers to start and stop vs different state with triggers etc but I always end up with some silly detail of it not working the way I’d like. Just wanted to check if someon has a scenario like that that I could have a look at?