Gravitational acceleration calculation

I’m getting strange results when calculating the physics between two objects.

My goal is to build a galaxy simulator that can simulate how galaxies consisting of 100s of stars might look when interacting. It’s a fun little side project and I’m not even sure how it’ll turn out (which is part of the fun). I have a really limited background in math and physics so this is a pretty big challenge for me atm. I’m starting with one star and a static object to attract it to nail down the basic p

Published by CelleSports

CelleSports is a Game development, News outlet, and Social Cell community. Build your cells or teams for any game and start communicating efficiently. Join us in building the number one eSport and gaming community in the World. Join Cell eSports

Leave a comment