Hi guys !
I want to do a translation and a rotation on the spaceship of my game so it follow the terrain as you can see below :
For me the best solution would be to make the rotation on the z axe of the ship with the y axe always looking at the transform position of the terrain at the top of the picture.
I don’t know how to do it correctly, I already tried some things with the LookAt method but nothing worked so far.
What’s the best solution to do it properly ?
