I'm a beginner coder and I'm having problems with the animator

I'm trying to have a smooth animation for an object in my game. I'm using while loop to query the current value of the animator. However, when it does that. The fps drops and the animation doesn't show, instead it becomes this instantaneous move. the duration of the animation is set as 100 and using inOutQuad

Could you post your code here? It'll be easier to figure out what's going on. Thanks!

1 Like