- Home /
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.
Answer by Rayeag · Feb 16, 2014 at 07:58 PM
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
Hi, i just wanted to thank you and anwser your question: I made alot of "chunks" with four empty gameobjects on every side (in the middle) so that the chunks where placed like the picture down below by a script that also randomized the order that the chunks where placed in. and im sorry to say but the script disappeared when my dual ssd raid failed :( but i hope you understand how i did it and that you understood my bad english :) Have a nice day
a a
___ ___
d |ch-| b-d |ch-| b
|unk| |unk|
c c
| |
a a
___ ___
d |ch-| b-d |ch-| b
|unk| |unk|
c c
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Min, Max Rotation Help 2 Answers
Rotate camera around object smoothly 2 Answers
How do I rotate something smoothly? 2 Answers
How can i limit rotation in my script? 0 Answers