Skip to main content

All Questions

0 votes
0 answers
31 views

Better equations for modeling and simulating a halo orbit?

I'm trying to model a halo orbit at low altitude (10m from surface). The satellite is using propulsion to trace the circular halo path. It looks like this "from the top" (the blue ball is ...
Nico Brenner's user avatar
1 vote
1 answer
113 views

Accounting for expansion in $N$-Body gravitational simulations

I have an $N$-Body simulation for the evolution of the universe. It uses a hybrid Tree Particle-Mesh scheme to compute the forces. The tree code used Newtons law of gravity: $$\textbf{F}_i = -G \sum_{...
James's user avatar
  • 13
7 votes
3 answers
2k views

Using 2D position, velocity, and mass to determine the parametric position equations for an orbiting body

I have a gravity-related question. I am programming an orbit simulator. I have everything up and running, but I would like to render the smaller body's orbital path (the larger body is fixed). To do ...
Conner Ruhl's user avatar
2 votes
1 answer
2k views

Simulating Gravity in 3D Game?

Alright, I am writing a space simulator for a 3D game and I would like to implement gravity of objects into it. Is there a nice way to find a velocity vector which can be added to my engine output ...
Joseph Roberts's user avatar