Performance optimization for btCompoundShape::setLocalScaling

Thanks to Mirza, See Issue 487

backward compatibility fix for recent improvement in btRaycastVehicle 'rollinfluence'
Thanks to Mihail, See Issue 468
This commit is contained in:
erwin.coumans
2011-03-04 20:16:50 +00:00
parent b167f69ca2
commit fd4ae96697
3 changed files with 11 additions and 6 deletions

View File

@@ -106,7 +106,7 @@ public:
}
///set a new transform for a child, and update internal data structures (local aabb and dynamic tree)
void updateChildTransform(int childIndex, const btTransform& newChildTransform);
void updateChildTransform(int childIndex, const btTransform& newChildTransform, bool shouldRecalculateLocalAabb = true);
btCompoundShapeChild* getChildList()