Hi folks, I need your help. Every time when the object’s z rotation has changed I need to smoothly returns that back to 0. It seems simple to me but there is alway a bug or something. Could you help please?
Can you post your code so far?
You probably need to use a Lerp function and multiply the rotation value by Time.deltaTime to get it smooth.
Actually I don’t have any code anymore, everything was wrong so I deleted everything.
Well then it is hard to really help you. Just look up smooth Lerp rotation or something and you should find plenty of resources. If you still struggle, post the code you have that way the community can help more.