Is there general way to do that?
I can do something like
Code: Select all
btConvexHullShape* shape = (btConvexHullShape*)body->getCollisionShape();
int count = shape->getNumPoints();
btVector3* points = shape->getPoints()
for(int i = 0; i < count; i++){
btVector3 v1 = tr(points[i]);
}
Thanks