Get vertex of btGImpactMeshShape
Posted: Wed Mar 09, 2016 3:22 pm
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
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