[ODE] Distance between two objects

Martin C. Martin martin at metahuman.org
Mon Apr 19 15:12:54 MST 2004


Tatu Lahtela wrote:

> I trying to create force fields to the objects that are extremely 
> distance dependent
> (electrostatic and van Der Walls) so I need know the shortest distance 
> between two objects
> and use this information to calculate the force if the objects are 
> closer than a given value.

In general, you'll need more than just the shortest distance, since the 
force will be a function of the entire distribution of charge, not just 
the nearest.

- Martin





More information about the ODE mailing list