Model:getBoundingSphere
EditReturns a sphere approximately enclosing the vertices in the Model.
x, y, z, radius = Model:getBoundingSphere()
Arguments
None
Returns
Name | Type | Description |
x | number | The x coordinate of the position of the sphere. |
y | number | The y coordinate of the position of the sphere. |
z | number | The z coordinate of the position of the sphere. |
radius | number | The radius of the bounding sphere. |