Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Please help me write this small script

Discussion in 'Scripting' started by Only4gamers, Sep 25, 2022.

  1. Only4gamers


    Nov 8, 2019
    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:
  2. glgamesforfun


    Apr 13, 2021
    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:

    DevDunk and Only4gamers like this.