How do I tween an orbit?

0 favourites
  • 4 posts
From the Asset Store
Calculate parabolic trajectories and tween objects over them.
  • To sum up, there's an orbit that takes place in only part of the animation. I'm looking to speed it up and then slow it down at equidistant time. (a 2-second frame where the orbit speeds up in 1 sec then slows down in 1 sec) I'd also like for the orbit to not overtake any other motion the object may have such that the object can adjust in all other aspects of motion (x, y, angle, etc., etc.). Don't know if my question is understood, but any help will be appreciated, as always!

  • To be honest, it's difficult to understand your task. It would help if you could attach a picture or a demo project.

    You can run a value tween with "In Sinusoidal" ease and Ping-pong=yes settings. And add the value of this tween to the object's motion (speed or orbit angle).

    dropbox.com/scl/fi/unabdyo98ot8jac68hs5d/Orbit-Tween.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Show Speedy1SonicBoy's deleted post

    To be honest, it's difficult to understand your task. It would help if you could attach a picture or a demo project.

    You can run a value tween with "In Sinusoidal" ease and Ping-pong=yes settings. And add the value of this tween to the object's motion (speed or orbit angle).

    https://www.dropbox.com/scl/fi/unabdyo98ot8jac68hs5d/Orbit-Tween.c3p?rlkey=lpgsytl2icvrtcah9a3umnb8p&st=u0j47zgt&dl=0

    From your example you've pretty much got it exactly. Many thanks!

  • To be honest, it's difficult to understand your task. It would help if you could attach a picture or a demo project.

    You can run a value tween with "In Sinusoidal" ease and Ping-pong=yes settings. And add the value of this tween to the object's motion (speed or orbit angle).

    https://www.dropbox.com/scl/fi/unabdyo98ot8jac68hs5d/Orbit-Tween.c3p?rlkey=lpgsytl2icvrtcah9a3umnb8p&st=u0j47zgt&dl=0

    The example above has been extremely helpful.

    However, I think what I'm trying to say is that the orbit behavior seems to override all other behaviors in terms of movement. I was hoping for the orbit to influence the overall movement of the object but not override the overall movement.

  • the orbit behavior seems to override all other behaviors in terms of movement.

    You are right. You can get rid of Orbit behavior and move the object using other means.

    Say, you can attach it to another base sprite at a distance with Pin or hierarchy, and rotate that base sprite.

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