[ODE] Sphere pass through box, mass problem

J. Perkins starkos at gmail.com
Mon Nov 14 14:37:06 MST 2005


On 11/14/05, Jon Watte (ODE) <hplus-ode at mindcontrol.org> wrote:
> The problem I had was a case where you (as an actor) could push yourself
> into (and through) a box. The problem was that the case that was testing
> for != 0 before dividing, when it really needs to test for < epsilon,
> where epsilon is min-non-denormal-squared.

So the unit test case would be to place a sphere at a distance <
epsilon from a box and let it run, correct? And I can deduce a value
for epsilon from your code? Would probably be worthwhile to have
similar cases for all primitives for points, edges, and faces.

Jason




More information about the ODE mailing list