[ODE] Sphere pass through box, mass problem
Rodrigo Hernandez
kwizatz at aeongames.com
Mon Nov 14 15:02:56 MST 2005
Use the ODE defined constant dEpsilon for epsilon, otherwise, you'll be
introducing inconsistencies in the code.
J. Perkins wrote:
>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
>
>_______________________________________________
>ODE mailing list
>ODE at q12.org
>http://q12.org/mailman/listinfo/ode
>
>
>
More information about the ODE
mailing list