I'm working on a project to track what object is currently rendered at the current mouse screen coordinate. There was a recent thread I found (http://www.mail-archive.com/sl...@lists.secondlife.com/msg04380.html) that highlights the cursorIntersect function in the LLViewerWindow class. That is exactly what I've been using, and it seems to be working just fine. The only problem is that I can't seem to capture sky, clouds, or water. The function just returns with a null value when I'm hovering over any of those objects. I tried changing the depth parameter, but that hasn't helped. I also double checked the gObjectList array, and there are, in fact, sky and water pcodes in there. Does anyone know of any reason why I can't retrieve those objects then?
Thanks! Nick P.S. As a follow-up to this challenge, I am also looking to log whether the mouse is hovering over a dialog box (i.e., inventory, map, chat window, etc.). I tried using the cursorIntersectIcon function, but that doesn't seem to be giving me what I want. Any guidance on that would be great too!
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges