Thanks the
c_updatehull gave my model the right collision box. I changed the code like Superku showed.
But now I got the problem, that my unit can jump on other units. After the jump, he will gain a new hight which lets him walk in the air.
Can I make him fall after he walks from the top of the other unit?
or
Is it possible to make, that my unit cant jump on top of other units?