Now, if you want a decaying orbit or whatnot, you just need to adjust distance. So if unit accelerates, increase Distance, if it decelerates, decrease Distance. Unless I am missing something, you should already have the ability to emulate the effects of gravity by modifying the angle, distance, and speed.
So, for a basic orbit, you don't need anything complex.
Just need to throw this in a loop and set your Distance. Add in whatever delay you want to make it smooth.
Now, if you want a decaying orbit or whatnot, you just need to adjust distance. So if unit accelerates, increase Distance, if it decelerates, decrease Distance. Unless I am missing something, you should already have the ability to emulate the effects of gravity by modifying the angle, distance, and speed.