Re: [slscripters] secondlifescripters Digest, Vol 70, Issue 2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] secondlifescripters Digest, Vol 70, Issue 2

Nox Ferocia
depends... technically it shouldn't result in drift on the server, but
I think perhaps positions are stored with a different precision than
what we get in LSL so it's all up to the conversion. Theoretically it
should stabilize after the first get/set. Comparing it with the viewer
reported position may make it wobbly though, and if you cast the type
it introduces more conversion problems. different cast methods can
result in different precisions for vector data (there's a jira on that
somewhere)

> Date: Wed, 4 Jan 2012 18:40:27 -0800
> From: Stickman <[hidden email]>
> Subject: [slscripters] PRIM_POS_LOCAL and prim drift
> Would this cause a child prim to drift away from its original position?
>
> -----
> while (TRUE) {
>        // Worded for readability
>        list l = llGetLinkPrimitiveParams(2,[PRIM_POS_LOCAL])
>        vector v = llList2Vector(l,0);
>        llSetLinkPrimitiveParams(2, [PRIM_POS_LOCAL, v]);
> }
> ---
>
> There's a long explanation around it... but I realize this is the core
> of the issue.
>
> If no one knows, I can set up a test to try to find out.
>
> Thanks!
>
> Stickman
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters