jdiwnab / OrbitSim

JavaScript Gravity simulator
13 stars 4 forks source link

Collisions #4

Closed jdiwnab closed 9 years ago

jdiwnab commented 9 years ago

If two objects are directly on to of each other, the simulation fails. This is usually from bad selections for position. Calculate collision condition and stop sim, or maybe combine masses.

jdiwnab commented 9 years ago

Works, just allows pass through depending on speed and timestep.