Pinball paddle

Hi all,

I tried to create pinball paddle but with not lot of success.
I have created two bodies, one is a polygon (the paddle itself) and the second is a simple circle. The circle will act like a pivot so I have created a revolute join between those two bodies. The paddle movement looks pretty correct but I have one big issue. When the ball collide with the paddle, the paddle moves and get far away of the pivot. Sometimes it's only little movement and the paddle goes back to its initial position, but sometimes when the collision its hard or it's about a long time (the ball falls on it and stay on it so the paddle keep moving down) the paddle goes very far away and doesn't get back (but close) of its initial position.

I don't want the paddle to move at all except the rotation even if there collisions. Is that possible ? I tried to make it static but the revolution joint dosen't work anymore. But if it's not static the paddle reacts with collisions and it's not good.

I'm a beginner and any help would be really appreciate 🙂

Thanks
Sounds like you're after a kinematic body (for the paddle), which is new to version 2.1. It's basically somewhere between a dynamic body (it still moves) and a static body (it isn't affected by other bodies). Do a search on these forums for more info, or look at the 2.1 test bed.

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