Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Prim Animation Workaround?

Pandora Wrigglesworth
Registered User
Join date: 25 Oct 2007
Posts: 11
01-30-2008 01:08
I have noticed that llSetPrimitiveParams() does not work reliably with small prims when more than one parameter is set.

For example, I have one object that tries to set both rotation and position in a single call on several different child prims. Sometimes it works just fine. Other times, it seems to become stuck, making some prims rotate without changing position while other prims change position without rotating.

I can find no common trigger for this error but, one it starts happening to an object, that object continues to display the behavior until the entire object is rescaled. The act of rescaling seems to cause the queue to become unstuck.

While rescaling does fix it temporarily, it is an inconvenient method of dealing with this bug. Does anyone know some way to work around this bug in script so that an object vulnerable to this problem could repair itself?
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
01-30-2008 05:59
I'm curious: if you right-click on the object when it's in one of its "stuck" states, does it magically "pop" into position? I have some llSetPrimitiveParams stuff that behaves this way now (seemingly a change from maybe six months ago) and I assumed it was just lack of a forced object update--except in my case, sometimes the rescaling trick works and sometimes not.