Collisions between the player (Rigidbody2d) and level (Staticbody2d) cause the sliding player to pop into the air whenever they cross vertices boundaries. I would expect the object to slide smoothly over the Staticbody2d. I have increased the physics fps to 240, and that diminishes the issue, but doesn't completely fix it. I use the following code to move the character:
if Input.is_action_pressed("move_right"):
self.apply_central_impulse(speed Vector2.RIGHT.rotated(rotation))
if Input.is_action_pressed("move_left"):
self.apply_central_impulse(-speed Vector2.RIGHT.rotated(rotation))
For reference the game I am developing will have similar movement to the game "Ski Stunt Simulator" or "Just Ski". Also, to create curved collision shapes for the static body I used the the method described in this video: