- Edited
I am trying to make this plane (actually a rectangle box) hit my puck here (see link). My main problem is that the plane is driven by the mouse and I can't use the normal physics functions for a kinematicbody. The reason is that I want the crisp 1:1 movements with the plane and the mouse and "move_and_slide" just won't seem to cut it unless I am mistaken of course. With move_and_* either the stick is moving so fast that it jitters because continuously passes by the point I want it to be at, or I set a "close enough" value and the plane is jittery because the player moves the mouse too slow.
Right now the plane is the child of a pivot spatial that I am rotating to the mouse location. This makes the plane move and feel exactly how I want it but obviously the collision with the puck is almost non-existant.
I believe the solution is to detect when the puck and the stick collide and apply impulses on the puck based on how they are moving. However I can't seem to do that because with a kinematicbody I only get collision data from the move functions. I have tried a area but the body_entered signal does not give me any collision data either.