the code is:
action funcao_player()
{
jogador = my;
set(my, SHADOW);
my.emask |= ENABLE_CLICK ;
my.material = mat_metal;
c_setminmax(my);
pXent_settype(my,PH_CHAR,PH_CAPSULE);
wait(1);
my.event = evento_bola;
while(1)
{
movimento_player();
funcao_camera();
animacoes_player();
wait(1);
}
}
Putting c_setminmax before register the entity, don´t works too.
I need to put the player under the axis in MED, or scale in WED.