void ShapesChanged(ObservableList<OrientedConvexShapeEntry> list)
{
OnShapeChanged();
//Computing the center uses extreme point calculations.
//Extreme point calculations make use of the localOffset.
//So, set the local offset to zero before doing the computation.
//The new offset is then computed.
localOffset = new Vector3();
localOffset = -ComputeCenter();
}