How do I make an object orbiting (or running?) around a ball jump?

0 favourites
  • 4 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • Hello -

    I have a ball in the center of the screen.

    1. How do I make a character run around the ball?

    a. Do I simply use orbit? I tested the following: I placed a ball in the middle of the screen, and have the object orbit around the ball. Technically speaking, this is orbiting, not running per se (see b).

    b. Is there a way to assign gravity to the ball and the character is affected by the gravity? Then I would tell the object to move forward but it would then be affected by the pull (and collide with the ball surface)?

    2. Depending on the a or b approach, how would I make the character jump (increase its distance from the center of the ball, but still orbiting or moving forward, depending on a or b)?

    Thanks, regards!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Weekend's here, some time to work on this.

    What I have is not elegant yet, as it is not the optimal solution. It works, but not as seamlessly as I imagine it can:

    Totally "hard-coded". If I come up with the correct solution I will post.

  • So you want the character to jump while running around the planet?

    Here's a simple solution using tween behavior

  • Wow, thanks so much! This works well.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)