What would be the best way of solving the following:
I have a loop that creates one or more properties to animate/Lerp a GameObject. Example can be to move the GameObject around to multiple places. The actual animation is significantly slower than the loop as well as the time to do the animation is dependent on how long the move is. A short move is faster than a long one.
I have tried this by initiating a Coroutine using a List with properties for the Lerp but it fails. I would guess the reason for this is the fact that the Loop is faster than the Lerp. I also want do not want this to be too slow meaning that if i yield WaitForSeconds to try to cater for this i guess that will be slow given that i need to make time for all length of animations.
My question is what would be the best solution for this problem?