Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rotation stops (simple rotation script)

Paulo Dielli
Symfurny Furniture
Join date: 19 Jan 2007
Posts: 780
04-30-2007 21:04
I have the simplest of simple rotation scripts in a prim and linked it to some other prims. Prim with script is the root. But at random the rotation stops. Why is that and what can I do about it.

To explain even more:

Prim with rotation is a round platform to display two of my chairs on. Both chairs are linked on their own. Sit scripts in one poseball per chair, poseball is root prim of each chair. First I selected the two linked chairs, then the platform with the rotation script and linked it all together. The whole object stops rotating after a while (random period).

Simplest script is:

CODE
default
{
state_entry()
{
llTargetOmega(<0,0,0.03>,PI,1.0);
}

}


Another question too if I may ask.

I want to place an ad board (1 prim) on the platform for people to buy something through the ad board. The board has no script. Buying is set to content. When I link the ad board prim to the whole platform (with linked chairs), buying the content of the ad board is not possible anymore.

Hope you can help me to get it right.
Rifkin Habsburg
Registered User
Join date: 17 Nov 2005
Posts: 113
04-30-2007 21:25
From: someone
Prim with rotation is a round platform to display two of my chairs on. Both chairs are linked on their own. Sit scripts in one poseball per chair, poseball is root prim of each chair. First I selected the two linked chairs, then the platform with the rotation script and linked it all together. The whole object stops rotating after a while (random period).


I think this is a new bug in 1.15. I have several old, existing objects with rotation scripts, and they've started exhibiting this behavior recently.

The weird thing is, llTargetOmega rotation is supposed to be all client-side, but everyone sees the object stop rotating. Sometimes it goes into stutter-mode, rotating in chunks at 1 or 2 fps.

And, I'm also seeing this in texture rotation too. That is, using llSetTextureAnim(ROTATE ...), the texture will rotate for a while, then stutter, and stop.
_____________________
Procyon Games: makers of Can't Stop, En Garde, Take it Easy, Danger Zone and Frootcake.
Paulo Dielli
Symfurny Furniture
Join date: 19 Jan 2007
Posts: 780
05-01-2007 14:46
Anyone else seen this behaviour since 1.15?
Solomon Devoix
Used Register
Join date: 22 Aug 2006
Posts: 496
05-02-2007 19:33
Yes. All the time. Both with objects I've created and/or own, and objects that I don't. (For an example of the latter, rotating "disco light" fixtures in a club.)

I've found that if I right-click on an object that should be rotating, but stopped... and then exit out of the pie menu without clicking on any of the options, it immediately starts rotating again. Until it stops again, anyway. Very irritating it is...
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
05-02-2007 19:57
The problem has existed prior to 1.15. I don't have evidence but it seems to me that the larger the radius of the rotation, the more it happens. If ignored it also seems to start itself again, perhaps the next time it is rezzed on your screen.

Again I have no evidence but I think the rotating object is the victim of a "lost click". Someone in the vicinity clicked, or attempted to click on something and either missed, or the click was intended to "go through" the rotating object space to a destination. In the process the click intercepts the rotating object and if it has touch script, it holds up waiting some input depending on how its script is written.
Ave Amat
Love Liberty
Join date: 21 Mar 2007
Posts: 10
05-04-2007 15:47
I've got a prim(0.5m diameter) that used to spin nicely, but doesn't anymore. I've tried various ways to make lltargetOmega to work for it, but no luck. I tried llSetText("", <1.0, 1.0, 1.0>, 1.0); after it, as suggested by another poster, but no difference. Not a hint of movement. No-one else sees it spin so its not just me.

The object is physical and the script is very busy, and the spin just seems to lose out in the priorities on the server. Is this a bug? Surely not.
_____________________
Love Liberty