Please help me write this small script

Hello there,
I am working on a game. Where a ship will move, rotate and orbiting around a planet while maintain the same distance from the planet. And using Rigidbody not transform.

Please help me to write the ship controller script.

Here is the video for better understanding:

This forum is meant to help people, not write their whole game. So try it yourself first and if it doesn’t work you can share your already programmed code and we will help you.
Here is a tutorial with an similar project:

:slight_smile:

2 Likes