So things such as swings, doors and such could potentially move over time. Not everything will drift. The Box I have setup now has a TaperX 0.8 initial angle of 270, 0.0, 90.0 and chage to an angel 315.0, 0.0, 90.0 and back every 0.5 seconds. After finishing this post it is now at a positoin of 226.0, 72.846, 325.309. I don't know about you but this is kinda of bad.
EDIT:
every time I test this more, I keep finding more oddities. So it is more and more random. Or the Altitude also plays a role.
EDIT:
Here is a test script.
Rez a box put this code in it.
Touch it to start it running.
Open the Script Error/Warnning window
Notice the drift will be 0.0.
Now keep adjusting the TaperX until you start to see a change in the DRIFT.
CODE
vector angle_delta = <45, 0, 0>;
rotation rot_close;
rotation rot_open;
integer running = FALSE;
integer open = FALSE;
vector drift;
vector pos1;
vector pos2;
list data;
default
{
touch_start(integer total_number)
{
if (running == FALSE)
{
running = TRUE;
rot_close = llGetRot();
rot_open = rot_close * llEuler2Rot((angle_delta) * DEG_TO_RAD);
llSetTimerEvent(0.4);
}
else running = FALSE;
}
timer()
{
if (open == FALSE)
{
pos1 = llGetPos();
llSetRot(rot_open);
open = TRUE;
}
else
{
llSay(DEBUG_CHANNEL, llList2CSV(data));
llSetRot(rot_close);
pos2 = llGetPos();
drift = pos2 - pos1;
data = ["DRIFT= ", drift.x , drift.y, drift.z, "POSITION= ", pos2.x, pos2.y, pos2.z];
open = FALSE;
if (running == FALSE)
{
llSetTimerEvent(0.0);
}
}
}
}
EDIT 11-12-06
oject now at 226.00, 101.900, 267.200