Create an Orbiting Object

Discussion in 'How Can I...?' started by Astroboy747, Apr 19, 2016.

Tags:
  1. Astroboy747

    Astroboy747 Boxer

    Joined:
    Apr 19, 2016
    Messages:
    6
    Likes Received:
    2
    Hi guys, I am new to the community.

    Is there a way to have one object orbit another object? I want to have a planet moving around another planet in a circular motion. What is the best way to do this? It doesn't have to be physics based, although I would like to add a path logic to the orbiting planet to create a sort of gravity well that will affect the player.

    Thanks guys,
     
    Last edited: Apr 19, 2016
  2. Kadri246

    Kadri246 Avid Boxer

    Joined:
    Mar 1, 2016
    Messages:
    243
    Likes Received:
    77
    linear and angular velocity, play around with both of them til you get the settings to suit your taste.
     
  3. Astroboy747

    Astroboy747 Boxer

    Joined:
    Apr 19, 2016
    Messages:
    6
    Likes Received:
    2
    Thanks! I actually worked out a way of doing it by connecting three objects together. The first object becomes a hinge to the third. But I'm reading the manual now. Should have done it first haha.
     

Share This Page