Mouse Movement With Kinematic Bodies

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By KLDGZ

Ok, So im making a game where the player is moved with the mouse as in it follows the mouse wherever it goes similar to a game called (feeding frenzy). I tried by using the Hidden Mouse Mode(Glitches at the edge of the screen even in full screen) and setting its position to get global mouse position. It works for the most part, the problem however is that because it uses the position it just passes right through collision shapes and that pretty much ruins the entire point of my game. I tried to find videos and guides online to no avail and this is my last hope. Is there a way to capture the mouse so that it is invisible and be able to have my player follow it. I understand if I am asking to much but responses will be gratefully appreciated

:bust_in_silhouette: Reply From: cascas

You should use the captured mouse mode.