[osg-users] How to detect collisions ?

Robert Osfield robert.osfield at gmail.com
Thu Nov 1 02:33:37 PDT 2007


Try Node::getWorldMatrices()

On 11/1/07, Cervantes Pintor Pedro <pedrocp at lycos.com> wrote:
>
>  Hi,
>
> I'm trying to detect a collision between two objects by simply using the
> bounding sphere of those objects.
>
> So i need to collect the world transformation for each object and then
> translate those spheres  so then I can use the "intersects" method. Now the
> question is, what would be the easiest way to keep track of the acumulated
> transformations for each object?
> Is there any NodeVisitor that keeps track of this ?
>
> Thanks in advance to all replys
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071101/78383394/attachment.html 


More information about the osg-users mailing list