|
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
|
08-23-2007 02:11
I have 7 prims in a linked set of about 35 prims that rotate to different angles. They rotate individually in response linked messages initiated by touches. All are located within 1.5 Meters of the root prim. On the freshly rezzed device, they all work fine for a total of about 10 to 20? rotations. Then the rotations freeze. All other functions continue to work. Script reset or re-compile doesn't unfreeze them. Even stopping all scripts and rotating the items in edit doesn't work - they snap back as soon as you let go. Editing their location doesn't work either - they just jump back. Logging out and back in doesn't restore rotations. The only way to get them to work again is to delete and re-rez the object. The freeze appears to be isolated to the object, other items in the sim continue to rotate.
Any ideas out there?
|
|
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
|
08-23-2007 04:52
You've run into one of the happy-happy, joy-joy bugs of SL unfortunately.
For some reason certain link sets appear to only let linked pieces move a certain number of times before it sort of 'locks down', and will do as you describe. Usually the only way you're going to get past that point is to completely unlink the object...make rotation changes, and then relink.
It's really a pain when you're doing fine touches on a mostly complete item where the link #'s are important and it's several hundred prims which effectively makes unlinking *not* and option.
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
08-23-2007 07:48
A few thoughts..
1) are the rotations less than 6 degrees after a while? If so, they are still rotating, but the viewer won't receive updates on any rotational change less than 6 degrees.
2) Are the rotations computed from composing Euler angle representations? If so, you might be running into "gimbal lock".
3) Are you using llTargetOmega at any point? After using llTargetOmega, llSetRot fails, even if you set the omega to zero.
|
|
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
|
08-23-2007 08:13
Hmm. Not an option. It is, in fact, an item that gets rezzed when needed and then llDies when finished so it always starts out working OK but it doesn't continue to work long enough to complete just one cycle.
It always quits at exactly the same place - you would think a repeatable bug like that could be identified and repaired.
Oh well, I'll have to Unlink the moving parts and rez them in their relative locations and communicate with llWhispers on a private channel.
What a FPITA
|