I'm making a game, and I have it where when the player character goes offscreen, they're teleported back to their original point. At least that's what I tried to do, but simply changing position.x/y and setting velocity.x/y to 0, my character gets stuck in a wall. Is there a better/correct way to do this?