01-15-2008 12:26
I'm trying to work out how to reposition a child prim from a linked set that's attached to a HUD.

I've manged to get the local position of the Root prim using llGetPos() but can't seem to find a way to tell a child prim that's linked to it to move.

I can use llSetLinkPrimitiveParams() to mess with most parameters of the child prim but I can't work out how to move it as
llSetLinkPrimitiveParams(x, [PRIM_POSITION, <xx,xx,xx>])
only seems to work with region coordinates (please tell me if I'm wrong with that assumption).

Anyone know a way of doing this with just one script in the root prim?

I suppose it's possible I could pass the new relative coordinates to the child prim and create a script within the child to get it to move itself but I would far rather keep everything in one script/prim if possible.

Any ideas?