|
|
|
[
Permlink
| « Hide
]
Jennifer Brennon added a comment - 22/Feb/08 01:01 PM
I have experienced this problem as well. I've been developing a animation engine based on this principle. I've been able to make the system work only after a fresh rez of the device. After making changes to the device in world, at what seems a random time, the linked prims stop responding to the PRIM_POSITION parameter. If I take the device back into inventory and then re-rez, the device will then again work as expected. Something about editing the device after rez, breaks this part of the parameters. I've also noticed that it breaks a few of the other parameters of llSetLinkPrimitiveParams such as PRIM_SIZE. This system worked well before havok4, so I'm assuming this is something that was broken by that havok4. If anyone has found a work around for this failing function, please post. Thanks.
The sitting positions issue is here:
Couldn't reproduce this, put the below script into a multiprim object and it moves my avatar fine.
vector SIT_POS = <0.0, 0.0, 1.0>; vector TARGET_POS = <0.0, 0.0, 2.0>; default changed(integer changes) } I'd like to add to what I found here. I was experiencing the problem of the failing of this function, but in the current version H4 beta 1.19.0.79818, this issue as far as I can see has been fixed. Now on normal sims still running the Second Life Server 1.19.0.79368 and even the updated version now only on 500 or so sims Second Life Server 1.19.1.80455 this function is still failing. All I can say is I hope Havok 4 comes quickly...
What a strange in my test, that some Havok4 sims with the same version act differently.
Some sims give a fine work on llSetLinkPrimitiveParams(x,[PRIM_POSITION,v) but some other sims failed to make it work. I make a simple test to do, that create 3 box in a line, with center become the root prim and have this script: default touch_start(integer total_number) { vector test=(vector)llGetLinkName(llDetectedLinkNumber(0)); llSetLinkPrimitiveParams(4,[PRIM_POSITION,(vector)test,PRIM_ROTATION,llEuler2Rot((vector)test)]); }} The left and right box have name: So with the script when I was sit on the center box, and touch the left or right box should moved and rotated. I was reported that the sim that work fine with SetLinkPrimitiveParams with the new update of Havok4 (v1.19.1.81747) become failing to move the avatar position.
I'm just recheck again for some havok4 sims especially, reported having problem.
Seem all the sim work fine with the test. My testing shows this to be working now. I think that matches what Cecilia is saying as well.
My specific test: } I tried this script in a single prim, a root prim (with 1 and with 7 children), and in a child prim. It worked in all cases. I was a little surprised to find that llGetObjectPrimCount didn't include the agent but llGetnumberOfPrims did. That seems to match the havok1 behavior though and I suppose is useful specifically for cases like this - determining how many people are sitting on the object. my sit scripts have stopped functioning properly in the mainland region of Kolbeinsey since the update to Havok 4. The creator of the scripts says that setlinkprimitiveparams movement is no longer working in this sim but setlinkprimitiveparams rotation is. We tried it in another sim and they seem to function normally. but in Kolbeinsey they do not. Here is another odd bit, they function normally for me, but no one else now. They do the animation or pose but are not moved to the set offset.
After reading this again, it is possible this is a dupe of
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||