Try Node::getWorldMatrices()

On 11/1/07, Cervantes Pintor Pedro <[EMAIL PROTECTED]> 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@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to