I'm having a problem adjusting the weight painting for the pants and shirt of my character. The problem is that when my character raises his foot, I don't want the top of the pants to poke through the bottom of the shirt. I already tried finding the right bones to change the weight paint influence and this helps a little, but the intersection still happens. I rigged the pants and shirt with automatic weights. Is that the best option or is there a better/easier way to do this? Thanks in advance.
Here's a video.
https://mega.nz/#!D5NA2YaR!2pSZiTbSj5V3QMSv4DA2bLbIiJRM_gQeDh6lzYFlcRY