Get Link Position


So I needed to synchronize my script to be aware of all positions that avatars are sitting at if the script is reset. This could be a nightmare. llGetPos/llGetRootPos only gets the position of the root prim. llGetLocalPos has to be run inside the link itself. llGetPrimitiveParams works – but again it has to run in the prim itself (there is no such thing as llGetLinkPrimitiveParams or llGetLinkPos). There is one thing left. Using llGetLinkKey, I can query information from llGetObjectDetails(avatarId, [OBJECT_POS]). Now the trick is to translate the regional cordinates into local cordinates with llGetPos().
posted by Dedric Mauriac on Thistle Island using a blogHUD : [blogHUD permalink]

Comments are closed.

%d bloggers like this: