On 23.07.2011 14:23, sam.hacking@xxxxxxxx wrote:
Hi again def get_angle(self): if (self.get_length_sqrd() == 0): return 0 return math.degrees(math.atan2(self.y, self.x)) Well the 0 length check is ok, since a 0 length vector does not really have an angle. But I guess you see it now. ~DR0ID |