Convex Passes Through TriangleMesh?

ShUr1k3n

16-12-2009 18:51:35

Ok here the deal,

i have a cube that is a triangleMesh (i know i don't need it to be a triangleMesh because its only a cube, but its only for testing). And i have a ConvexShape, when i put this shape high enough (like 100m) the shape passes through the cube like nothing is there. But when i put the shape closer to the cube, the collision occurs.

Any idea why this is happening?

Thanks in advance.

ShUr1k3n

16-12-2009 20:44:37

I notice that this happens when the speed of the object is "fast".

How can i determine the max speed a object can have so this doesn't occur?

koirat

16-12-2009 21:07:56

The collision mode is not continuous. It means that your body is doing step movement, and when it's velocity is to big it's movement every frame is longer than body length in this direction. And it can pass through your second body.
This is my guess.

ShUr1k3n

16-12-2009 21:13:24

The collision mode is not continuous. It means that your body is doing step movement, and when it's velocity is to big it's movement every frame is longer than body length in this direction. And it can pass through your second body.
This is my guess.


Hum. makes Sense. And how can i solve this problem?

Thanks.

EDIT: From what i have read, there is a option where we can activate CCD (Continuous Collision Detection). Can anyone tell me where?