I'm trying to get an understanding for the Box2D/Farseer physics engine by implementing a small air hockey simulation. There, I have the problem that the CPU player attacks the puck, kicks it, but also gets kicked back due to restitution. I would like the CPU player's mallet to be pinned to where it currently is; being able to kick others, but not getting kicked by something else.
I have tried setting its restitution to 0 but restitution is always the maximum of the two colliding bodies and as the puck has a restitution of 0.9, the mallet will also move.
I have also tried changing the mass of the mallet to a insanely high value but this influences damping again.
What is the best approach to really pin it afte collision?