How can i make my aircraft rotate as smooth as the one in race the sun, and then go back to its original position

I’ve made a race the sun like game but i cant figure out how to rotate the ship. so when u press 4 example A the ship will tilt smoothly to the left and when i release A it will go back to its normal position (Smoothly) take a look for your self

Thanks in advance Filip G.H.

1 Answer

1

Hi, I believe that would be in the animation part of the ship, not sure how to do that in unity, but I’d like to know if you managed to do an infinite world with random spawning prefabs on the terrain and if you did it I’d like to know how to do it.

Thanks in advance

Is there any possible better way of doing this ? Considering optimizations