Yes, scale_x/y/z is helpful.
obj.z is not suitable at this case.