Air Hockey game with Box2D - How to avoid Tunneling?

Hello,

I am developing a small Air Hockey game and wanted to include Box2D to get a physical correct behavior of the puck (ball). For that I created a dynamic puck and a bumper (you know, the thing you hold in your hand). The bumper follows the movement of the mouse and I can move the ball with my bumper. The problem I have right now is that I have quite a lot of tunneling going on, if I move the bumper very quickly (it is Air Hockey after all). So I set the ball to be a "bullet", but this did not help my problem.

So my question is this: How can you avoid tunneling or is Box2D not a good choice for this kind of game? Or how would you do it?

BTW, I am not using Mouse Joints to move the bumper because then there would be a small delay which I don't want to have. So I am make sure that the Body of the bumper is aligned to the Bumper Object at all times when the mouse gets moved.

Thanks for any help.

.
If you manually set the position of a body, then you are teleporting the body.

People have made air hockey games in the past using Box2D. I believe they used a mouse joint. Try searching the forums.
If you're going to use mouse joints, just use a lot of force (and perhaps raise up the maxTranslation variable in b2Settings) so the body can keep up with the mouse.

Original thread: https://box2d.org/forum/viewtopic.php?t=8327