LuaAPI.wiki
changeset 1514 f9f99f1cf286
parent 1513 18582093d894
child 1515 ca760c9fcca4
equal deleted inserted replaced
1513:18582093d894 1514:f9f99f1cf286
   497 For example: The `FlightTime` of a hedgehog (`gtHedgehog`) is the time since they last have stood on solid ground. For most projectile gear types (i.e. `gtShell`), it stores the time after it has been launched.
   497 For example: The `FlightTime` of a hedgehog (`gtHedgehog`) is the time since they last have stood on solid ground. For most projectile gear types (i.e. `gtShell`), it stores the time after it has been launched.
   498 
   498 
   499 === <tt>!GetGearElasticity(gearUid) </tt> ===
   499 === <tt>!GetGearElasticity(gearUid) </tt> ===
   500 Returns the elasticity of the specified gear. The elasticity normally determines how strong the gear will bounce after collisions, where higher elasticity is for stronger bounces.
   500 Returns the elasticity of the specified gear. The elasticity normally determines how strong the gear will bounce after collisions, where higher elasticity is for stronger bounces.
   501 
   501 
   502 This is also useful for determining if a hog is on a rope or not. If a hog is attached to a rope, or is busy firing one, the elasticity of the rope will be non-zero.
   502 This is also useful for determining if a hog is on a rope or not. If a hog is attached to a rope, or is busy firing one, the elasticity of the rope will be a non-zero number.
   503 
   503 
   504 === <tt>!GetGearFriction(gearUid) </tt> ===
   504 === <tt>!GetGearFriction(gearUid) </tt> ===
   505 Returns the friction of the specified gear. The friction normally determines how well the gear will slide on terrain. Higher values are for increased sliding properties.
   505 Returns the friction of the specified gear. The friction normally determines how well the gear will slide on terrain. Higher values are for increased sliding properties.
   506 
   506 
   507 === <tt>!GetHogClan(gearUid)</tt> ===
   507 === <tt>!GetHogClan(gearUid)</tt> ===