Handling ODE tunneling effect

I made a previous post on this topic: discourse.panda3d.org/viewtopic … highlight=

I have found that the tunneling effect has been in ODE for long time. Because of the nature of my “fast entities” that suffer from tunneling, the solution here seems reasonable for me:
ode.org/old_list_archives/20 … 09477.html
However, I don’t know exactly what it meas to “add very soft, frictionless contact constraints if the line hits the ground”. Should I add a joint? What kind of joint? How can I add “contact constraints” in Panda’s ODE binding? Can you suggest any better solution for the tunneling problems?

Thanks a lot,

JP

Hi, just for completeness, I wanted to post how I solved the problem in case someone encouters it again.

I managed to understand what to do, but I found it too complex… throw the ray, then get the ContactGeom, set the parameters there and create the ContactJoint using them…

In the end, I noticed that, as the fast entities that suffered from tunneling with where modeled in ODE using spheres, I could manually sweep them using a cylinder and setting the length to the linear_velocity * delta_time. This is working quite well.