I have a little movement problem. I’m transferring all movement (In the game) to Cursor movement, where the object moves towards the cursor. I have the basic coding. the only problem is; the player continues in the same direction until it hits a wall. It cannot be stopped unless I move it in a different direction.
I need to fix this before anyone else plays my game.