title: Box2D, libGDX slope collision
body: <p>I have created a Box2D based map for my platformer using ChainShape which has different angle slopes (no more than 45°).
  My problem is the slope collision with my player. The player' body has 2 fixtures, a rectangle and a circle below it. Whenever I move the player (the method doesn't matter the results are the same) and I stop on the middle of a slope I slowly glide down. I managed to temporarily fix that but the main reason for this post is the fact that whenever I leave a slope l I shoot out because I still have some impulse left from the previous movement. Same thing happens when I enter a downwards slope, or when I stop on a slope and I start moving again.</p>
  <p>Entering / leaving the slope:</p>
  <p>(The red lines are the desired movement, the black is the movement I have right now)</p>
  <p><a href="https://imgur.com/7hiIwug.png" rel="nofollow noreferrer"><img src="https://imgur.com/7hiIwug.png" alt="" /></a></p>
  <p>Start moving on a slope:</p>
  <p>(The red lines are the desired movement, the black is the movement I have right now)</p>
  <p><a href="https://i.imgur.com/QBXejam.png" rel="nofollow noreferrer"><img src="https://i.imgur.com/QBXejam.png" alt="" /></a></p>
  <p>Could you please help me out with this problem? I don't mind if your answer is detailed either.</p>