Air hockey using Physics

Hello, everyone.
I’m developing the air hockey.

The player’s mallet follow the mouse and hit the pack.
The Game AI’s mallet follow the Game AI and hit the pack.

The problem is that two mallets does not working properly.
Currently, player’s mallet flies and Game AI’s mallet passes over the pack.
I don’t know what to do.
Please teach me what I add parameters or methods and it works properly.

source code is GitHub - watanabe0700/air_hockey: air hockey

Hello and welcome!

To get help the best is to reproduce your issue/questions in the Playground so we can all see your code running live