Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

The beauty of gravity and orbital mechanics (the classic, newtonian version) is that everything just boils down to a single equation, the law of universal gravitation. The gravitational force between any two objects is always

F = Gm₁m₂/d²

Just making it so everything attracts everything else using that equation is all there is to it. Realistic orbits and orbital mechanics just emerge naturally!

neat, the simple versions ive run so far just attracted an object towards the center point with a distance-variabled gravity level