Cloth colliding through mesh? Sorry for asking so many questions about this one project, I'm sure many of you have seen it a lot already. This should be the last one for this :P Thank you all for helping so much already !

Anyways, I'm almost done my little project, here it is in it's current state:



Everything goes pretty well-- except the pants, as is evident. 

Here is the blend:



The pants have a cloth modifier on them with the Quality slider turned up to max (as that helped with this issue previously when the pants were at rest. Not the case right now). I've tried playing with the presets to no avail. The pants are pinned at the waist and ankle through pinning via a vertex group. The pants are also parented to the character to keep their offsets to it. 

How can I fix the melding issues with the pants?

Edit: Tried removing the cloth modifier, but the leg still doesnt seem to collide with the body despite both having collision physics... Hrm.

Edit: Tried turning up quality on collision, no improvement :(
Ok, I just did a simpler rig now the answer is which is not very certain that I could only figure out there must be something wrong with how you adjusted the armature and the pinned vertices most probably won't move so the leg that's kicking is something you need to unpin like:



make sure you enable the cloth simulation on the physics tab ONLY FOR THE CLOTH(PANTS) and the collision set only for the mesh. and hence the result:

(this is a simpler rig though.)