LuaAPI.wiki
changeset 1409 755e96dd1ff1
parent 1398 704301f9bd1d
child 1410 6d356877f1d2
equal deleted inserted replaced
1408:af21a7367640 1409:755e96dd1ff1
   476 
   476 
   477 === `GetGearCollisionMask(gearUid)` ===
   477 === `GetGearCollisionMask(gearUid)` ===
   478 Returns the current collision mask of the given gear. See `SetGearCollisionMask` for an explanation of the mask.
   478 Returns the current collision mask of the given gear. See `SetGearCollisionMask` for an explanation of the mask.
   479 
   479 
   480 === <tt>!GetGearRadius(gearUid)</tt> ===
   480 === <tt>!GetGearRadius(gearUid)</tt> ===
   481 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.
   481 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 [GearTypes] for a full list.
   482 
   482 
   483 To set the `Radius` value, use `SetGearValues`.
   483 To set the `Radius` value, use `SetGearValues`.
   484 
   484 
   485 === <tt>!GetGearVelocity(gearUid)</tt> ===
   485 === <tt>!GetGearVelocity(gearUid)</tt> ===
   486 Returns a tuple of dx,dy values for the specified gear.
   486 Returns a tuple of dx,dy values for the specified gear.