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.
Outdated docs? btGimpactTriangleMeshShape does not exist!
-
elethiomel
- Posts: 10
- Joined: Wed Oct 27, 2010 11:05 pm
-
gennoevus
- Posts: 39
- Joined: Sun Oct 10, 2010 4:39 am
Re: Outdated docs? btGimpactTriangleMeshShape does not exist
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?
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
It's called: btGImpactMeshShape, and you can find it here:elethiomel wrote:I find that I am supposed to use btGimpactTriangleMeshShape. This does not exist in 2.77! Has it been renamed or replaced?
Code: Select all
#include <BulletCollision/Gimpact/btGImpactShape.h>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
Excellent! Thanks for the pointers 
-
gennoevus
- Posts: 39
- Joined: Sun Oct 10, 2010 4:39 am
Re: Outdated docs? btGimpactTriangleMeshShape does not exist
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 wrote:It's called: btGImpactMeshShape, and you can find it here:elethiomel wrote:I find that I am supposed to use btGimpactTriangleMeshShape. This does not exist in 2.77! Has it been renamed or replaced?P.S: It supports moving concave shapes (and supports deformations).Code: Select all
#include <BulletCollision/Gimpact/btGImpactShape.h>
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).
-
Flix
- Posts: 456
- Joined: Tue Dec 25, 2007 1:06 pm
Re: Outdated docs? btGimpactTriangleMeshShape does not exist
Yes.gennoevus wrote:Doesn't elethiomel want dynamic concave objects?
-
gennoevus
- Posts: 39
- Joined: Sun Oct 10, 2010 4:39 am
Re: Outdated docs? btGimpactTriangleMeshShape does not exist
How very friendly of you.Flix wrote:Yes.gennoevus wrote:Doesn't elethiomel want dynamic concave objects?