Constipation in pregnancy

Suffering bad from constipation in my pregnancy. I’m currently 29 weeks. I eat lots of fibre, have a bit of veg & fruit. Lots of water too! Not sure why it’s so bad. Anyone else had this and found a solution? ☹️