Character bounces while looking at mouse cursor
I made a custom mouse cursor that is always set at the position of the mouse. My player character is set to always look in the direction of the mouse cursor. When standing still, everything is fine, and my character looks toward the mouse cursor. However, when moving (using 8 directional movement) there are some problems. If my character is moving in a direction opposite of the mouse cursor, it will bounce when I unpress the movement key. Also, if I put my mouse cursor at the edge of the screen and then move back and forth the character will move toward the cursor. I just want him to look at the cursor, not move toward it. It is for a shooter game.