Hi all, I wanted to do some very basic collision detection/volume intersection test, like in "return(vol1.intersect(vol2)) ...". This line worked fine as long as one of the nodes providing the volumes was directly manipulated by changing it's matrix (given a transform or componentTransform core). For example I used this code in a test application where drops were falling to the ground. A drop was represented by a node with componentTransform core that had a node with geometry core as a child. Everything worked fine. In an other test application I used nodes with componentTransform core to simulate joint behavior. In this application a joint was built like this:
http://people.freenet.de/Vontharon/OSGProblem.JPG I wanted to check whether the child shown in the image collided with a box but it didn't work, my code line never returned "true" though I could see there was a collision. While debugging I noticed that the matrix of the child never changed which somewhat made sense since (as far as I understood it) it only represents a transformation of the coordinate system of the parent to the position of the child and was never directly manipulated. Still I think this could be the reason for the intersect() function not working properly. At the moment I have no idea how I can get it to work, if someone could help me out I'd be really grateful :-) regards Christoph ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
