[ODE] Gravitational Attraction?

Chris Spencer chrisspen at gmail.com
Tue Jun 19 22:17:42 MST 2007


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


More information about the ODE mailing list