linked prim set to reflection probe does not move with rest of object
complete
benzitebot Resident
make two large cubes, make one a reflection probe and link it to the other. write a script to move the object when touched. make reflection probe volumes visible. touch cube a few times. linked-prim coordinates change but the reflection probe volume does not move to them. see attached image. Change the linked prim from reflection probe to anything else and it works as expected.
If I manually move the object the 'stuck' probe prim jumps to the correct position. Example script:
vector pos;
vector newpos;
default {
touch_start(integer total_number) {
pos = llGetPos();
newpos = pos + <1,1,1>;
llOwnerSay("at "+(string)pos+" moving to "+(string)newpos);
// none of these attempts to move object make a difference for the linked reflection probe
llSetLinkPrimitiveParamsFast(LINK_ROOT,[PRIM_POSITION,newpos]);
// llSetRegionPos(newpos);
// pos = llGetPos();
// llSetLinkPrimitiveParamsFast(LINK_ROOT,[
// PRIM_LINK_TARGET,2,PRIM_POS_LOCAL,pos]);
}
}
Log In
Dan Linden
complete
Zoxin UwU
I've just encountered this issue myself - it will again delay a product indefinitely until this is fixed as I've been able to replicate the bug with llSetRegionPos on the default viewer.
As a minor addition, CTRL+LMB object dragging also causes this same issue in a very obvious way.
Video from default viewer - you can see the probe not updating quite clearly here.
Cain Maven
I did a little more testing:
• It doesn't matter how the objects are rezzed: manually or via rezzer script.
• It doesn't matter if the objects are already set as probes at the time of rezzing or if that is done afterwards.
• It doesn't matter how to the objects are set as probes: manually or via script.
As far as I can tell, the one important factor is that the linkset is moved via script. Then the child probes move to their original positions at the time of rezzing and stay there. This is true even if the linkset has been moved manually before it's moved via script.
Placing a script inside the child probes that attempts to force PRIM_LOCAL_POS on click, timer or message has no effect.
The long and short of this is that it doesn't seem to be possible to work around the issue temporarily. It therefore remains a show stopper for all products that include reflection probe linksets and use scripts to position them.
Whirly Fizzle
Merged in a post:
Rezzing and moving linkset of reflection probes fails
Cain Maven
When using a rezzer script to rez and move a linkset of reflection probes, one or more of the child probes are not moved into position correctly.
Moving the linkset manually solves the issue, i.e. the child probes snap into the correct positions.
Teleporting out of the region and back also seems to resolve the issue.
The problem does not appear to affect the root prim or single probes (not linksets).
Atlas Linden
Thanks for the report, Cain Maven
This issue was reported recently and will be merged. https://feedback.secondlife.com/bug-reports/p/linked-prim-set-to-reflection-probe-does-not-move-with-rest-of-object
Atlas Linden
tracked
Atlas Linden
needs info
Atlas Linden
Hi benzitebot,
I see you're on an older viewer version. Are you able to reproduce this issue using the current default viewer? https://releasenotes.secondlife.com/viewer/7.1.8.9375512768.html
benzitebot Resident
Atlas Linden yes, no difference in behavior. Firestorm has the same issue. So far I have not found a workaround other than moving it 'manually' (which is not a practical solution, sadly)
Atlas Linden
Thanks benzitebot
Turns out this only reproduces when the reflection probe is the child of the link set. Also other users do not see the probe snap to the new position upon manually moving the linkset in Edit mode.
benzitebot Resident
Atlas Linden thanks; this is holding up a product release and I have been unable to find a workaround, can you shed any light on the subject? It seems a rather bizarre bug, given that if I change the linked prim from reflection probe to anything else it works as expected.
Thanks!
Cain Maven
Atlas Linden As benzitebot Resident said, this bug is holding up product releases and updates; it's one of a couple of major show stoppers right now. Do you have any idea if or when it might be addressed? Thanks :)
Atlas Linden
Hi benzitebot and Cain,
Unfortunately, we have no estimate when the fix for this issue may be implemented. But please see future updates here
gweha Resident
Atlas Linden is this same issue when I rez by script multiple reflection prims linked together, only the root one works and rest does not.