Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rez llTargetOmega()

Sitting Lightcloud
Registered User
Join date: 13 May 2004
Posts: 109
07-15-2004 07:25
I have an iteresting problem with rezzing objects that rotate. They rotate fine then when I pull them into my inventory and back out they stop rotating even if I put llTargetOmega() in the on_rez() event. I even tried using a timer to get it time to load but that didn't help. Is this a bug and is there anyway to get around it?
Moopf Murray
Moopfmerising
Join date: 7 Jan 2004
Posts: 2,448
07-15-2004 07:32
It sounds like the client update issue with llTargetOmega that's been around as long as I've been in SL and I believe longer. After you do the llTargetOmega do something like the following to force a client object update:

CODE

llSetAlpha(llGetAlpha(0),0);


This basically just changes the alpha of prim face 0 to what it's already set to but it forces a client update, triggering the rotation to actually start on the client.
Sitting Lightcloud
Registered User
Join date: 13 May 2004
Posts: 109
07-15-2004 07:36
ah ok great thank you! :)