[Solved]A Vector question -- angleDeg

I’m trying to get the angle between two vectors:

>>> from pandac.PandaModules import *
>>> a = Vec3(4,3,5)
>>> b = Vec3(8,1,7)
>>> c = a.angleDeg(b)
Vec3(4, 3, 5)
>>> print b
Vec3(8, 1, 7)
>>> print c
180.0

No matter how I change the values of a and b, the angle is always 180.
what’ wrong?

Try normalizing the vectors:

a.normalize()
b.normalize()
print a.angleDec(b)
22.001712799072266

:open_mouth:

Thanks a lot!