OCESS / orbitx

Rewrite of OrbitV, maintained by Patrick, Gavin, and contributors
MIT License
10 stars 18 forks source link

N-body collision detection #18

Closed pmelanson closed 5 years ago

pmelanson commented 5 years ago

Collision detection probably doesn't work when there are multiple objects. Guess I'll have to fix that.

pmelanson commented 5 years ago

I simplified collision detection, for now it won't detect the difference between entities approaching and departing one another. This makes it simpler and more stable, when we re-visit inelastic collisions we'll look at this.