runevision
31-05-2006 11:34:06
In our game you can throw a ball. Normally it bounces on all objects, but sometimes it goes straight through the walls in our treecollision-object. The wall is one-sided, since it's never seen from the other side. The floor is one-sided too, but we haven't had any problems with the floor.
We have a material pair for the ball and the default material (which the wall has) where we use:
mMatPairDefaultBall->setContinuousCollisionMode(1);
Shouldn't this prevent the ball from going through the wall? It isn't anyway. Is there anything to do about this?
Thanks in advance,
Rune
We have a material pair for the ball and the default material (which the wall has) where we use:
mMatPairDefaultBall->setContinuousCollisionMode(1);
Shouldn't this prevent the ball from going through the wall? It isn't anyway. Is there anything to do about this?
Thanks in advance,
Rune