I have a spaceship that moves through space. I want it to tilt one way when moving upwards and tilt the opposite way when moving down.
This doesn’t seem to go quite right. Look at this. The ship in it’s neutral position:
Now I press Down. The ship is now supposed to tilt towards the camera but look what happens:
At this point it’s half way to the next position it’s going to be in and it didn’t even start to flip over yet. When it gets to the bottom things start to get really weird:
The ship starts to tilt away from the camera and then this happens:
It turns completely on the side so you can see the underside of it. From here the angle will keep being weird and it just keeps rotating oddly.
When I move up instead it actually does the same until it reaches it’s destination point in which it starts to rotate towards the screen and then decides to rotate away from the screen in that angle: