Entity.BoundingRadius
From GMod Wiki
Revision as of 22:06, 14 October 2009 by Unrealomega (Talk | contribs)
| Function | |
| Syntax | Entity:BoundingRadius( ) |
| Description: | |
| Returns the distance between the center of the bounding box and the furthest bounding box corner. See image for example. | |
| Returns: | Float |
| In Object: | Entity |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.BoundingRadius]Entity.BoundingRadius [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- See the diagram on the right for help using this function.
- The bounding sphere is the sphere surrounding the bounding box.
- The bounding box is the box surrounding the entity.
- The bounding radius is half of the bounding sphere's diameter.
