My mistake. A6.0 ignores the location parameter, and thus returns the value for phent_getvelocity(myObject, temp, vector(0,0,0));
This will be fixed in A6.1