i also needed this and solved it with skills. i think there is no better way?

my._physics=1;
my._mass=40;
...
phent_setmass(my,my._mass,ph_box);

if(you._physics==1)...