|
Prospero Frobozz
Astronerd
Join date: 10 Feb 2006
Posts: 164
|
03-13-2007 22:05
Odd thing here. I had an object that I set spinning with llTargetOmega. Then i stopped it spinning with
llTargetOmega(<0,0,1>,0,0);
Since then, however, whenever the script rotates the object with SetRot, it does *not* show up on my screen until I right-click on the object. Clearly its been updated server site, but it doesn't get updated client side until I actually poke at it.
I don't have this problem with objects that haven't ever had llTargetOmega() run on them.
Two questions:
(1) Is there a function I can call that will *force* the server to tell the client to update the object's geometry?
(2) Is there some better way of cancelling llTargetOmega to tell the object "pretend you've nevre known anything about Omega"?
Thanks,
-Rob
_____________________
--- Prospero Frobozz (http://slprofiles.com/slprofiles.asp?id=6307) aka Rob Knop (http://www.pobox.com/~rknop)
|
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
03-14-2007 09:34
From: Prospero Frobozz Odd thing here. I had an object that I set spinning with llTargetOmega. Then i stopped it spinning with
llTargetOmega(<0,0,1>,0,0);
Since then, however, whenever the script rotates the object with SetRot, it does *not* show up on my screen until I right-click on the object. Clearly its been updated server site, but it doesn't get updated client side until I actually poke at it.
I don't have this problem with objects that haven't ever had llTargetOmega() run on them.
Yup, this is an annoying problem that's been in llTargetOmega() for over a year and a half. From: someone Two questions:
(1) Is there a function I can call that will *force* the server to tell the client to update the object's geometry?
Yes, call llSetText() with completely transparent text. You should make sure that the text actually changes each call, perhaps by including llFrand() in it. From: someone (2) Is there some better way of cancelling llTargetOmega to tell the object "pretend you've nevre known anything about Omega"?
No :(
|