i tried to follow the wiki pagen on mathutil and it’s not working
may be other chnges to API
give me an example like how do you do a cross or dot product and use the normalize one
then i should be able to use it like in 2…49
first how do you import it ?
or you need to
from mathutils import * ?
let say with input vectors
i tried this one and seems to work but not like in wiki !
v1=1.0, 2.0, 3.0
vec = mathutils.Vector(v1)
print (‘v1=’,v1 ,’ vec =’,vec)
so how do you enter the vec as tuple or as list ?
cause v1=1.0, 2.0, 3.0 is not a tuple or a list !
for angles this is seems to be workig fine
print (’ ang =’,ang,’ deg radian =’,radians(ang),’ Rad’)
print (’ ang =’,rad1,’ radian =’,degrees(rad1),’ Deg’)
but then what and how ?
1 - cross product ?
2 - Dot product ?
3 - normalize?
Thanks and happy 2.5