Zuzi Martinez
goth dachshund
Join date: 4 Sep 2004
Posts: 1,860
|
10-23-2004 13:06
i'm playing with a little something something right now and it rezzes an object then fades it away after a while. it's physical so when it rezzes it bounces around then ends up laying there. when the fade away comes along the object starts moving again. all it does is do llSetAlpha again and again with a smaller value each time but the physical object kinda rolls around. is this normal? any way to prevent it?
edit: well duh, i figured out if i turn off physics before it starts to fade that keeps it from wiggling. but still, is it supposed to move around just from changing the alpha?
|
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
|
10-23-2004 13:12
I would imagine it has something to do with the fact that changing a prim's colour or alpha forces a client-side update. Something like that. Maybe? I think? I dunno, I certainly hope nobody's listening to this. 
_____________________
- Making everyone's day just a little more surreal -
Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
10-23-2004 13:28
The way the physics engine works is when an object stops moving a distance greater then some cut-off value for a period of time specified by another cut-off value the physics engine ignores it. The reasons for this are kind of complicated; one being to save cpu time the other being to keep objects from jittering across the floor. So llSetAlpha must cause the physics engine to re-activate the object. Sounds simple to fix to me.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Zuzi Martinez
goth dachshund
Join date: 4 Sep 2004
Posts: 1,860
|
10-23-2004 14:05
sounds like you guys are right. it's behaving just like if you clicked it again and again so it must be that client update thing. i fixed it with a quick llSetStatus(STATUS_PHYSICS, FALSE) just before it fades away. thanks.
|
Pete Fats
Geek
Join date: 18 Apr 2003
Posts: 648
|
10-23-2004 22:17
Sounds like client updates might cause Havok to introduce new numbers? Has anyone else tested this with other client updates? Maybe SetText? sorry I'm too lazy to play with it now...
|