Spaceship Idle Script... URGENT!!!

Dear forum,

I have a spaceship model for a computer game I am working on and am wondering if someone could help me with a script that will make a spaceship rock slightly from side to side to make it look like its animated and idle… I know it would be easier to animate it but I prefer not to use any animations as it only creates a hassle for me…

Thanks in advance,
Mendi Meyer

Hi there, try to use the animation curve to set the values to the x position, and other animation curve to the z angle (More information in the unity manual).