Talk:GetWidth - ObjectReference

There are no discussions on this page.

It should be noted that this function (and the companion functions, GetLength() and GetHeight()) return the dimensions of an object's oriented bounding box. The dimensions will not change if the object rotates. DavidJCobb (talk) 2014-07-18T20:32:12 (EDT)

I'm not comfortable putting this in the article without double-checking, but my investigation indicates that this function returns the bounding box dimensions as defined in the 3D model's BBX, if that exists; or else the bounding box dimensions defined in the OBND data (visible in TES5Edit). Testing the matter is simple: statues in Sovngarde don't have BBX or OBND, so they should return zero when checked with these functions. I'm noting this in the meantime because some users may be under the impression that GetWidth and friends return precise sizes, e.g. by finding the +X-most and -X-most points on the model and measuring the distance between them along the X-axis, and this is not the case. DavidJCobb (talk) 2016-04-29T19:45:35 (EDT)

Return to "GetWidth - ObjectReference" page.