Is there an efficient way to implement gravitational attraction with ODE? I'm writing a simple asteroids-style simulation, and I want the asteroids to clump together at a rate that's proportional to their mass. Is there anyway to do this with O(N) complexity? Thanks, Chris