Hi Dat,

On Thu, Nov 19, 2009 at 11:57 PM, Nguyen Tien Dat <[email protected]> wrote:
> Dear all,
> How can I get the coordinates of the intersect point when I shoot a
> ray to the scene and the ray hits an object?

The osgUtil::LineSegmentIntersector contains the "Intersections", that
you simply get with getItersections().  Intersections is a mutliset of
LineSegmentIntersection::Intersection structs that you can access all
the info from.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to