|
Chuckles Gaffer
Registered User
Join date: 28 Sep 2007
Posts: 1
|
12-11-2007 13:35
I've been having this problem for a while now.
I'm trying to make an elevator out of a few linked prims. The whole thing is a physical object, made of a thin cylinder floor and ceiling, and a hollowed out cylinder wall. The wall is path cut from 0 to 0.9 when the elevator door is open and 0 to 1 when its closed.
I've been using the llSetLinkPrimitiveParams function on the door/wall to open and close it, but every once in a while, the link breaks when the function gets called. Since its a physical object, the results are not a lot of fun.
Does anyone have an idea why this is happening and how to fix it?
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
12-11-2007 20:03
Mostly likely havok being stupid. Your lucky the entire object doesn't unlink or the door evaporate. Turn off physics on the object before you change it's shape.
Course it's always possible as a result of changing it's shape you have caused the link distance to become too large.
_____________________
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
|
|
Sasun Steinbeck
Quaternions ate my brain
Join date: 17 Sep 2005
Posts: 36
|
12-16-2007 12:55
I know all about this problem. llSetPrimitiveParams is the culprit. Your object will become unlinked and the prims other than the root sent to 0,0. I can make this happen at will by overflowing your prim count on the parcel, but it also seems to just happen at random from time to time if you have an object that frequently calls llSetPrimitiveParams. This is most definitely a bug, you're not doing anything wrong.
_____________________
-Sasun Steinbeck
|