Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Weird building/scripting angle bug.

Woopsy Dazy
Registered User
Join date: 12 Nov 2006
Posts: 173
01-18-2007 23:54
Can someone else please try to reproduce this. I've bug-reported it.

Create a box, any size. Set angles to x:180, y:0, z:90

Add a default script.

Add llSetTimerEvent(1.0); to state_entry

Save everything. Might have to move the object using the grid.

Edit object again. What's the xyz-angles?

I get:

x:180.25, y:0.25, z:90.0

Remove the script and correct angles and try again. What you get? Can't understand how llSetTimerEvent would affect angles. Now how weird is that.
Woopsy Dazy
Registered User
Join date: 12 Nov 2006
Posts: 173
01-19-2007 00:09
Seems like moving the object has something to do with this as well. Use grid triangles to move stepwize.
Solar Ixtab
Seawolf Marine
Join date: 30 Dec 2004
Posts: 94
01-19-2007 05:02
Sounds like this: http://en.wikipedia.org/wiki/Gimbal_lock

In which case its not a bug so much as the lack of precision created by superimposed axis, creating a condition where float drift occurs. Limitation of SL's translation of a euler angles into a quaternion.
_____________________
Despite our best efforts, something unexpected has gone wrong.
Woopsy Dazy
Registered User
Join date: 12 Nov 2006
Posts: 173
01-19-2007 06:25
I consider it a bug because my whole build changed after the last update. Now I can't fix it back to what it was. And why does llSetTimerEvent suddenly affect angles? Remove it and everything works fine.

I'll go check that link anyway.

Woopsy Dazy
Registered User
Join date: 12 Nov 2006
Posts: 173
01-19-2007 06:31
And keep in mind we're talking about a squared box here. Which has been rotated in two directions, 90 and 180 degrees. Don't know much about Gimbal-stuff but it doesn't seem to fit in here.
Solar Ixtab
Seawolf Marine
Join date: 30 Dec 2004
Posts: 94
01-19-2007 07:05
From: Woopsy Dazy
And keep in mind we're talking about a squared box here. Which has been rotated in two directions, 90 and 180 degrees. Don't know much about Gimbal-stuff but it doesn't seem to fit in here.


Okay, I tested it out in-world. It doesn't seem to be gimbal locking, so I withdraw that, however, I can't seem to reproduce your results. I created a cube with <180.0, 0.0, 90.0> and put this script in it:
CODE
default
{
state_entry()
{
llSetTimerEvent(1.0);
}

}

and it sits there like I would expect. Maybe you can shed a bit more light on how to provoke the bug.
_____________________
Despite our best efforts, something unexpected has gone wrong.
Woopsy Dazy
Registered User
Join date: 12 Nov 2006
Posts: 173
01-19-2007 07:19
I was able to reproduce it myself this morning. You can actually see how the box tilts back and forth by itself + - 0.25 as if there's some compensation involved when the script is not there.

Try to move the object with the green/red/blue triangle arrows (the ones that moves in grid steps) in edit mode after adding the script. Also try to edit and save the script again. Or is this client related only? Maybe it's only me that can see it?

Try searching for wall paper wall in Toowoomba. The whole wall had this bug this morning. And there's nothing that sets positions in scripts. I removed peice by piece from script and ended up with lSetTimerEvent causing it.

And I did reproduce the bug somehow by creating a plain simple box without textures or other disturbances.

Weird. I'll do some more testing when I get home again (an hour or two).
Billie Scaggs
Registered User
Join date: 19 Sep 2006
Posts: 45
01-19-2007 07:28
i dont care what anyone says - this i a bug and it started after the last update. I can reproduce it with a seried of 15 prims spread out over 8 meters. I linked them, moved to another location, then unlinked. ALL of them tilted by .25 on X Y & Z and even relinking them did not help the tilt. oh - and then i rezzed a 600 prim bulding. It wasnt pretty and its an absolute builders nightmare. This needs to be fixed ASAP.
Woopsy Dazy
Registered User
Join date: 12 Nov 2006
Posts: 173
01-19-2007 08:17
Once again confirmed. As far as I was able to test until SL went into "Not Responding" again :( I hate this update!

I certainly has something to do with the script or the grid-mooving.

You can even see how it for some reason corrects the 180 and 90 when you change position figures manually in object. Then relasing it, open again and 180.25 and 0.25 is back.