I tried adapting them on the groudn aswell and my solution worked fine:
Code:
var test = c_trace(...) //height of feet to ground
ent_bonemove(pLocal, "Bip01_R_Foot", vector(0, 0, 25 - test)); //25 is the heigt when the feet are perfectly placed on ground!



But it looks ugly like hell xD (just imagine a 3 times longer foot..)
Then I tried to adapt the angle of the knee/leg to change height but I couldnt find a constant result like 1 dregree = 15 quants or whatever...

Could someone help me again please? Sorry Im not that far in math right now we just started vectors some weeks ago frown