|
Grandma Bates
Registered User
Join date: 9 Mar 2007
Posts: 5
|
05-21-2007 19:24
Hello, I have a non-physical object that I spin using llTargetOmega. In some circumstances I want it to stop spinning and then occasionally change its rotation using llSetRot. The problem is that I use llTargetOmega to start the object spinning and then use llTargetOmega with a zero spin rate to stop it from spinning. Subsequent calls to llSetRot do rotate the object but they do not appear in the viewer. Presumably the llTargetOmega with the zero spin rate stops it in the viewer and prevents the updates from appearing in the viewer.
How can I stop an object once it has called llTargetOmega? I need to set rotations on the object and have them appear correctly in the viewer after I stop it from spinning.
Thank you in advance, Grandma Bates
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
05-21-2007 19:48
I know how you feel. It is annoying the tee-total CRAP out of me as well; it's nothing more than a stupid bug they introduced months ago, and STILL have yet to fix.
There's really nothing you can do to make it stop. I have tried everything, even the llSetPos a small distance trick doesn't seem to work anymore. Child prims keep spinning, and the root stops spinning, but llSetRot() never works with it until you relog or leave the area and come back.
|
|
Gearsawe Stonecutter
Over there
Join date: 14 Sep 2005
Posts: 614
|
05-21-2007 20:03
you have to do a llSetText after you stop the TargetOmega. Just set the alpha to zero for the text. also the text must be different each time you do a SetText. hope this still work. my doors seem to still be working. I know this no longer works on child prim. It use to about 4-5 month ago but ever since they made some changes a while back many of products broke with no hope in sight.
|
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
05-21-2007 20:07
Yep.. You've got to do something that forces a full update..
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
05-21-2007 20:51
Done that. Still doesn't work.
|
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
05-21-2007 21:38
Really? Bummer - that used to work..
Not doubting you but did you try it with show updates on? Lots of red flashies when you set the text?
|
|
Bloodsong Termagant
Manic Artist
Join date: 22 Jan 2007
Posts: 615
|
05-23-2007 09:10
heyas;
after experimenting with lltargetomega for a class -- i found it wouldnt stop. until a student said it worked fine for her.
so further experimentation showed THIS weird bug... but at least it is a workaround. (this has been posted to the jira, btw.)
if you write or drop the script with lltargetomega into a linked child prim, setting all the lltargetomega parameters to zero will not stop it from spinning.
if you write or drop the script into any other prim, setting the parameters to all zero WILL stop it from spinning.
now... if you write/drop the script into an unlinked prim, THEN linke it as a child. it will work.
go figure.
ps: if you're using rotations anyway.... why not just rotate it with those to spin it? wouldn't that be more accurate?
_____________________
Why Johnny Can't Rotate: http://forums.secondlife.com/showthread.php?t=94705
|
|
Dina Vanalten
Registered User
Join date: 24 Dec 2006
Posts: 268
|
05-24-2007 17:11
Uh oh. So what I am reading is that the object I've just started to work on will not work.
In my naive way of thinking, I figured that sl would allow me to create an object with a menu or command controls that I could use start a continuous spin to the left, stop and return to the starting point, start and do a continuous spin the the right, stop and return to the starting point or just do a 1/2 turn and stop.
Am I missing something here? - D
|