Hello All
I have a strange problem in my project , though maybe someone knows what is it about.
I have a couple of quads in my scene that have been bounded by OrientedBoundingBox.
now when ever I detect a collition with one of the quads the camera stops.
I use TriangleCollisionResults to detect if there was any collition just by using
detectCollision.clear();
rootNode.findCollisions(cameraBounds, detectCollision);
if(detectCollision.getNumber()>0)
{
stop the camera
}
It worked great when I had the quads bound by a BoundingBox , but when I changed it to OrientedBoundingBox I could go right through one of the quads (not all just one).
when I debug I see that the detectCollision.getNumber() == 0 so it didn't detect any collition
but this is only for this quad, and all the rest are O.k
Any Ideas?
Use rather triangles.