Hi,
How can I get vertices of a gimpact shape?
I do:
btVector3 localPos;
collisionShape->getMeshPart(0)->getVertex(j,localPos);
it compiles well, but when it executes, it gives a segmentation fault!
Am I missing something?
Regards,
Ehsan
Get vertex of btGImpactMeshShape
-
- Posts: 72
- Joined: Mon Dec 02, 2013 4:13 pm
Re: Get vertex of btGImpactMeshShape
Is it something related to locking or unlocking the mesh?
Any hints?
Any hints?
-
- Posts: 456
- Joined: Tue Dec 25, 2007 1:06 pm
Re: Get vertex of btGImpactMeshShape
As usual, another already-answered question:
http://bulletphysics.org/Bullet/phpBB3/ ... ace#p34363
P.S. Maybe we should ask users to use the "Search" button before posting.
http://bulletphysics.org/Bullet/phpBB3/ ... ace#p34363
P.S. Maybe we should ask users to use the "Search" button before posting.