Use one of its transform axes like x,y, or z.  An axis is always straight.
It's kind of like how an aim constraint uses an axis to aim with.  If you
get the world matrix, the x,y,z axes are the first, second, and third rows
respectively.  The position will be the fourth row.

On Thu, Feb 10, 2011 at 8:53 AM, alireza fattahi <[email protected]>wrote:

> Thanx but how could i get a vector from it? And objects are not straight so
> i don't think that axis are enough.
>
> --
> http://groups.google.com/group/python_inside_maya
>

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to