User talk:Icra Nosferatu
Welcome to the wiki!
Thank you for contributing to the wiki. I would especially like to thank you for your edit to llCollisionFilter, without your edit I wouldn't have known to go looking into this, I wouldn't have found SVC-2490 (I was looking in preparation to creating a new bug report) which had been prematurely closed, and I wouldn't have reopened it. Lets hope now it will get fixed. Keep up the good work. -- Strife (talk|contribs) 22:13, 5 January 2014 (PST)
- I noticed that Maestro has commented that he hasn't been able to repro. I came across it while scripting an orbital laser platform that chases people down. Since I can't seem to comment on the JIRA, I'd like to note that the repro script does seem to work as intended, but the laser still does not and registers all collisions no matter how the collision filter is set. Doing my best to prune through it and find out exactly why that's happening, but I use preproc includes and functions quite heavily. Should be able to pin it down by Thursday. --Icra Nosferatu 20:39, 6 January 2014 (PST)
- It seems to be tied to changing the prim from non-volume detect to volume detect. If both are called in the same event, then the llCollisionFilter call seems to be dropped/ignored, no matter if it's before or after the llVolumeDetect change. If, however, they're called in different events (like touch_start and touch_end, or even just touch_start and touch) the collision filter takes. Since I can't comment on the JIRA, here's the script I finally cooked down to:
<lsl>collisionFilter(key id) {
llOwnerSay("Filter target is " +llKey2Name(id)); llVolumeDetect(TRUE); llCollisionFilter("",id,FALSE);
}
default {
state_entry() { llOwnerSay("state entry"); llVolumeDetect(FALSE); } touch_start(integer total) { collisionFilter(llDetectedKey(0)); } //Collision events collision_start(integer total) { llOwnerSay("Collision start "+(string)total); } collision(integer total) { llOwnerSay("Collision "+(string)total); } collision_end(integer total) { llOwnerSay("Collision end "+(string)total); }
}</lsl> As for taking until thursday... I cannot leave a script without a bug crushed or pinned to a board in my collection. --Icra Nosferatu 21:32, 6 January 2014 (PST)
- I'm reposting your comments (I hope that is ok) from here to the bug. I'm reopening it. -- Strife (talk|contribs) 21:52, 6 January 2014 (PST)
- That's great! I'll be watching it, thank you for reopening it. --Icra Nosferatu 21:59, 6 January 2014 (PST)