1
vote
1answer
109 views

How can make an object orbit a sphere in a random direction?

How can I move an object on a random orbital path around a sphere? I've created some objects at an initial position that is essentially a random point on the sphere offset by some distance (say, ...
3
votes
2answers
240 views

how to calculate intersection time and place of multiple moving arcs

I have rocks orbiting moons, moons orbiting planets, planets orbiting suns, and suns orbiting black holes, and the current system could have many many layers of orbitage. the position of any object ...
6
votes
2answers
440 views

Elliptical orbit modeling

I'm playing with orbits in a simple 2-d game where a ship flies around in space and is attracted to massive things. The ship's velocity is stored in a vector and acceleration is applied to it every ...