Hi there,
I started using Bullet recently and i came upon some problems. Everything works fine when using standard shapes ( btBoxShape, btSphereShape, btStaticPlaneShape ...) but when using the btBvhTriangleMeshShape objects sometimes get stuck in the mesh which makes all objects in the world to stop their normal motion and start oscillating.
Thanks!
btBvhTriangleMeshShape Problem
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: btBvhTriangleMeshShape Problem
Not familiar with such issues. Those are static btBvhTriangleMeshShape objects, right? How large are the triangles? Can you reproduce this in a Bullet demo? If not, can you create a COLLADA .dae file snapshot of the simulation?Marn_Tilos wrote:Hi there,
I started using Bullet recently and i came upon some problems. Everything works fine when using standard shapes ( btBoxShape, btSphereShape, btStaticPlaneShape ...) but when using the btBvhTriangleMeshShape objects sometimes get stuck in the mesh which makes all objects in the world to stop their normal motion and start oscillating.
Thanks!
Thanks,
Erwin
-
- Posts: 3
- Joined: Sun Apr 06, 2008 3:18 pm
Re: btBvhTriangleMeshShape Problem
Thanks for the quick reply.
Ok the problem seems to appear only when the triangles are small or the dimensions are odd (i.e. long and thin triangles).
With evenly sized triangles everything works fine.
Ok the problem seems to appear only when the triangles are small or the dimensions are odd (i.e. long and thin triangles).
With evenly sized triangles everything works fine.
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: btBvhTriangleMeshShape Problem
Can you provide the vertex coordinate of one of such odd / degenerate triangle?
Thanks,
Erwin
Thanks,
Erwin
-
- Posts: 3
- Joined: Sun Apr 06, 2008 3:18 pm
Re: btBvhTriangleMeshShape Problem
It seems that the problem has disappeared somehow, don't have a clue what caused it, probably my fault.
Anyway thank you for your answers!
Anyway thank you for your answers!