Hi, I have two OSG models. The first is constant about rotation and translation about Z. This model is just translating about X and Y axis.
The second model is variable about translation and rotation. Now I want to call a function when first model come across second model. That is when first and second models are touch each other I need to call a function. To do this, I calculated the screen coordinates for both models. Formed a rectangles for both with these coordinates. If these two rectangles intersect then I called the function. But this not working perfectly as second model is free about rotation and translation. Can any one please help me how to solve this problem. ... Thank you! Cheers, Koduri ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49547#49547 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

