01-16-2006 04:45
Hi I have a small problem.

Was writing an alignment script when i noticed something odd in the edit function.

I have a linked-set containing 4 pieces and wanted to know the center - so i coulds align other pieces up with it when it moved.

But looking in edit i saw something strange.

Click on the link-set and the coords are :
211.171/194.096/30.455
Check Edit linked and the coord change to :
211.269/192.359/30.377 (even although everything is still selected)
Click on the Root prim and the coords now say
211.141/194.114/28.946


So where is the center of the object ?


llDetctedPos returns the root prim coord.

But to align properly i need to know what coordinate the user rotated about in edit.


Any ideas ?
(Does that make sense ? )


Thanks in advance