You should change the position of the model within MED that its origin is not at its feet's position but higher, at its knees.
For this click the Auto Scene Range button near the play animation button to assure that the model will be moved in all frames when you move it down a bit.

It is not a problem of the code, but you can set this in the beginning of the entity's action "c_setminmax(me);". Don't miss to have a close look into the manual about this and all the related stuff of collision.