scorpion007
06-23-2007, 09:40 AM
Hi,
I seem to be misunderstanding how 'in coordsys' works.
I have a box, and I get the position of its first vertex the following way:
getVert $.mesh 1
It returns [-21.3491,-18.9629,0]
Ok, so I want to now get both its position relative to its node, and relative to the world, in the following way:
in coordsys local getVert $.mesh 1
[-21.3491,-18.9629,0]
in coordsys world getVert $.mesh 1
[-21.3491,-18.9629,0]
I get the same values. I move the box, try to get the vert's world position, still same result.
What the heck is up? How can it still be the same?
I seem to be misunderstanding how 'in coordsys' works.
I have a box, and I get the position of its first vertex the following way:
getVert $.mesh 1
It returns [-21.3491,-18.9629,0]
Ok, so I want to now get both its position relative to its node, and relative to the world, in the following way:
in coordsys local getVert $.mesh 1
[-21.3491,-18.9629,0]
in coordsys world getVert $.mesh 1
[-21.3491,-18.9629,0]
I get the same values. I move the box, try to get the vert's world position, still same result.
What the heck is up? How can it still be the same?
