Well ike said in the manual i can create a Capsule shape
for my character :
ENTITY* shell_right = ent_create("shell2.mdl",vector(-40,53,40),NULL);
pXent_addshape(ceiling, shell_right, PH_CAPSULE);
Ok it's create automatically,
but to avoid a charatcer to have it's foots floating on ground :
It would be cool if we could tweak it or change the center of gravity, for example move it a little up and decrease the size, !
Well i have the solution :
The character model will always follow the cpasule physix,
Caus it's attached to it in some way.
I just have by code to move the character a little down after the physic engine have moved the capsule.
But for changing capsule size, i don't see ?
Perhaps after creation, getting the size by code, and manually tweaking it for recreating the capsule with changed dimension ?
Last edited by ratchet; 03/30/11 11:40.