> >I think you can do :
> >
> >     forward = soya.Vector(self, 0,0,-1)
> >     forward.convert_to(self.get_root())
> >
> >  
> >
> I already tried this but  convert_to only converts soya.Point not 
> vectors, it returns None when so..
> 
> Point.convert_to(parent)\n\nConverts a Point to the coordinates system
PARENT in place. The x, y and z\ncoordinates are modified, and the
Point\'s parent is set to PARENT


No, convert_to works (or should work) on vectors too (actually Vector is
a subclass of Point ; this is not very correct mathematically, but it
makes sens for code-reuse).
It doesn't returns anything, it modify the point or vector IN PLACE.

Jiba

Reply via email to