equal
deleted
inserted
replaced
443 |
443 |
444 === <tt>!GetGearPosition(gearUid)</tt> === |
444 === <tt>!GetGearPosition(gearUid)</tt> === |
445 Returns x,y coordinates for the specified gear. Not to be confused with `GetGearPos`. |
445 Returns x,y coordinates for the specified gear. Not to be confused with `GetGearPos`. |
446 |
446 |
447 === <tt>!GetGearRadius(gearUid)</tt> === |
447 === <tt>!GetGearRadius(gearUid)</tt> === |
448 Returns radius for the specified gear. |
448 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. |
|
449 |
|
450 To set the `Radius` value, use `SetGearValues`. |
449 |
451 |
450 === <tt>!GetGearVelocity(gearUid)</tt> === |
452 === <tt>!GetGearVelocity(gearUid)</tt> === |
451 Returns a tuple of dx,dy values for the specified gear. |
453 Returns a tuple of dx,dy values for the specified gear. |
452 |
454 |
453 === <tt>!GetFlightTime(gearUid)</tt> === |
455 === <tt>!GetFlightTime(gearUid)</tt> === |