jdinovi / HOOTSim

N-Body Simulator
2 stars 0 forks source link

Add interactions between particles #7

Open Adam-Boesky opened 8 months ago

Adam-Boesky commented 8 months ago

Add interactions between bodies.

  1. Make a child class of particles called body or something that has radii, mass, etc...
  2. Implement functionality for collisions, combinations, etc...
jdinovi commented 8 months ago

https://stackoverflow.com/questions/2481479/2d-colliding-n-body-simulation-fast-collision-detection-for-large-number-of-bal

Useful stackoverflow link for efficiently checking for collisions; could be useful with Barnes-Hut algo