# HG changeset patch # User Wuzzy # Date 1465476797 -3600 # Node ID 05bb5a116783a35552c23bca1ba0eca8270a08e7 # Parent d991247c5c0557d7cd17dc9d694d053cafe60e80 LuaAPI: proper description of GetGearRadius diff -r d991247c5c05 -r 05bb5a116783 LuaAPI.wiki --- a/LuaAPI.wiki Thu Jun 09 13:47:05 2016 +0100 +++ b/LuaAPI.wiki Thu Jun 09 13:53:17 2016 +0100 @@ -445,7 +445,9 @@ Returns x,y coordinates for the specified gear. Not to be confused with `GetGearPos`. === !GetGearRadius(gearUid) === -Returns radius for the specified gear. +Returns the `Radius` value for the specified gear. For most [GearTypes gear types] for “projectile” gears (like `gtShell` or `gtGrenade`), the radius refers to the gear's collision radius. This is an invisible circle around the center of the gear which is used for the collision checks. For a few gear types, its radius means something different, see [Gear Types] for a full list. + +To set the `Radius` value, use `SetGearValues`. === !GetGearVelocity(gearUid) === Returns a tuple of dx,dy values for the specified gear.