I am working on a strategy-based game and for that, I need to make my character move to the mouse position in a natural and non-instant way however when I tried running a code I found on a YouTube tutorial for this while the object did move to the mouse location, unfortunately, it would teleport and wouldn't move the whole distance to the mouse. How do I fix this issue? (and I have tried to alter speed however that doesn't make the situation much better
Original video - https://youtu.be/ZI_3yBrw9y8?si=NT8pVUvMulorQKtD (altered to gd4 by a comment on the video which I used)
Here's how you can make the player character move to the position of a mouse click in Godot 3.x (in under 2 minutes)
The Code:
https://pastebin.com/mq5u9jKV
Kenney's Assets:
https://www.kenney.nl/assets/pixel-shmup
My Itch.io page: https://actuallykron.itch.io/
My Twitter: https://twitter.com/actuallyKron
My Instagram: https://www.instagram.co...