Outdated docs? btGimpactTriangleMeshShape does not exist!

elethiomel
Posts: 10
Joined: Wed Oct 27, 2010 11:05 pm

Outdated docs? btGimpactTriangleMeshShape does not exist!

Post by elethiomel »

I want to collide some moving concave meshes together. By following the diagram on page 16 of the manual, I find that I am supposed to use btGimpactTriangleMeshShape. This does not exist in 2.77! Has it been renamed or replaced?

What is the preferred way of dealing with colliding concave meshes now? For long complicated reasons, I'd rather not go into, I don't want to use convex decompositions.
User avatar
gennoevus
Posts: 39
Joined: Sun Oct 10, 2010 4:39 am

Re: Outdated docs? btGimpactTriangleMeshShape does not exist

Post by gennoevus »

As I understand it, it's not really possible. Concave meshes can only be static and not dynamic. (i.e. your static environment)

But any concave shape can be split into a number of convex ones?
Flix
Posts: 456
Joined: Tue Dec 25, 2007 1:06 pm

Re: Outdated docs? btGimpactTriangleMeshShape does not exist

Post by Flix »

elethiomel wrote:I find that I am supposed to use btGimpactTriangleMeshShape. This does not exist in 2.77! Has it been renamed or replaced?
It's called: btGImpactMeshShape, and you can find it here:

Code: Select all

#include <BulletCollision/Gimpact/btGImpactShape.h>
P.S: It supports moving concave shapes (and supports deformations).
See: http://bulletphysics.org/Bullet/phpBB3/ ... 59&start=0, and http://bulletphysics.org/Bullet/phpBB3/ ... 10&start=0 (by changing the definitions inside the code, you can turn the demo in the second link into a deformation demo like the one in the first link).
elethiomel
Posts: 10
Joined: Wed Oct 27, 2010 11:05 pm

Re: Outdated docs? btGimpactTriangleMeshShape does not exist

Post by elethiomel »

Excellent! Thanks for the pointers :)
User avatar
gennoevus
Posts: 39
Joined: Sun Oct 10, 2010 4:39 am

Re: Outdated docs? btGimpactTriangleMeshShape does not exist

Post by gennoevus »

Flix wrote:
elethiomel wrote:I find that I am supposed to use btGimpactTriangleMeshShape. This does not exist in 2.77! Has it been renamed or replaced?
It's called: btGImpactMeshShape, and you can find it here:

Code: Select all

#include <BulletCollision/Gimpact/btGImpactShape.h>
P.S: It supports moving concave shapes (and supports deformations).
See: http://bulletphysics.org/Bullet/phpBB3/ ... 59&start=0, and http://bulletphysics.org/Bullet/phpBB3/ ... 10&start=0 (by changing the definitions inside the code, you can turn the demo in the second link into a deformation demo like the one in the first link).
Moving as in animated (still 0 mass) or moving as in it has mass and can be a dynamic object? Doesn't elethiomel want dynamic concave objects?
Flix
Posts: 456
Joined: Tue Dec 25, 2007 1:06 pm

Re: Outdated docs? btGimpactTriangleMeshShape does not exist

Post by Flix »

gennoevus wrote:Doesn't elethiomel want dynamic concave objects?
Yes.
User avatar
gennoevus
Posts: 39
Joined: Sun Oct 10, 2010 4:39 am

Re: Outdated docs? btGimpactTriangleMeshShape does not exist

Post by gennoevus »

Flix wrote:
gennoevus wrote:Doesn't elethiomel want dynamic concave objects?
Yes.
How very friendly of you.