Having a bit of teething problems with phent_getvelocity().


phent_getvelocity(my_entity,temp,nullvector);
if (temp.z == 0)
{
phent_addvelcentral(my_entity,vector(0,0,key_space * 10));
}


Does nothing. So I guess I'm not sure what value to be looking for.