fixed player movement bug on collision

was moving in weird circular motions after collision with a rigidbody