Returns the size of the smallest bounding box that contains all of the
BaseParts in the
Model/PrimaryPart exists then the bounding box will be aligned to that part. If a primary part has not been set then the function will chose a part in the model to align the bounding box to. As the the selection of this part is not deterministic it is recommended to set a
Model/PrimaryPart to get consistent results with this function.
Note this function only returns the size of the smallest bounding box, and the developer must employ their own method to obtain the position of the bounding box.
The code sample below demonstrates how Model.GetExtentsSize can be used to get the size of the bounding box containing the parts.