Model:getCenter
EditReturns the center of the Model's axis-aligned bounding box, relative to the Model's origin.
x, y, z = Model:getCenter()
Arguments
None
Returns
Name | Type | Description |
x | number | The x offset of the center of the bounding box. |
y | number | The y offset of the center of the bounding box. |
z | number | The z offset of the center of the bounding box. |