> I'm looking for the part in the Second Life
> Viewer Source code (svn), that makes it possible to get the face / UV
> position of a selected prim so that the script function
> llDetectedTouchUV() can work.

all that information is computed by our (new) ray tracing code.

at the highest level: you want to call  
gPipeline.lineSegmentIntersectInWorld(start, end, ...)

or at a lower level: viewer_object->lineSegmentIntersect(start,  
end, ...)

or at the lowest level for prims (volumes): volume- 
 >lineSegmentIntersect(start, end, ...)

or you can just search for "lineSegmentIntersect".  :)



K.

_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to