×
Create a new article
Write your page title here:
We currently have 276 articles on Waste Of Space Wiki. Type your article name above or create one of the articles listed here!



    Waste Of Space Wiki

    Gyro: Difference between revisions

    Content added Content deleted
    (Changed Gyro Back from Ivans Downgrade ( or at least this is ivans better version) also corrected min -> Min and max -> Max)
    (Changed some wording, added a section about a practical use for its stabilization feature as well as another section dedicated about programming and fixed a broken link)
     
    (12 intermediate revisions by 7 users not shown)
    Line 1: Line 1:
    {{Object
    {{Object
    |title1 = {{PAGENAME}}
    |title1 = {{PAGENAME}}
    |image1 = RobloxScreenShot20210827 171503572.png
    |image1 = Gyro.png
    [[File:Gyro|thumb]]
    |type = Electrical, Logic
    |type = Electrical, Logic
    |recipe = {{#invoke:GetPartInfo|getField|Recipe}}
    |recipe = {{#invoke:GetPartInfo|getField|Recipe}}
    Line 8: Line 9:
    }}
    }}


    The '''Gyro''' is a part that is commonly used as a targeting system for contraptions such a [[Building_A_Base#Missiles|missiles]], it will orient the front of itself towards a chosen target rotating anything it is welded to in the process. The front of the gyro is represented by a white circle.
    The gyro is a part that causes its white circle face to aim directly upwards. If configured and powered, it can adjust its orientation to aim at an object it is configured to aim at. If it is not configured it will aim in one direction. Putting "Radar" in front of the part you want to target will target a part. If you put "AllExcept" in front of a players username it will target every player except that player. If you want it to not target several players simply put "AllExcept player, player1" (the player being a different person to player1). The commands "Min" and "Max" configure the minimum and maximum distance the gyro can aim at, so if it was "Min80 Max400" it will target parts from 80-400 studs away. There is also another configuration which you can use called "TrigMin" and "TrigMax". It works the same as min and max except it trigger when in range. There is another property called "TriggerWhenSeeked". If this is set to true it will send trigger signals every second if the "Seek" option locates something. Gyros also have a setting called "MaxTorque". This configures the maximum amount of force on the gyro. You can also use MaxInf
    <br><br><br>
    In its default state (Unpowered), it will directly aim upwards unless the option <code>DisabledWhenUnpowered</code> is on, in which it will simply stop aiming. This feature can be used to stabilize structures that rely on physics to float, for example, a structure built with [[Balloon|Balloons]] which will inevitably tip over to its heavier side without a gyro.


    If powered, it can adjust its orientation to aim at an object it is configured to seek, to choose what to target, you must simply enter text in the option <code>Seek</code>. If seek is blank it will not aim at anything.
    === In-game description ===
    The Gyro has an option called <code>TriggerWhenSeeked</code>, which when activated will send a trigger signal every tick as long as it has a valid target.
    {{#invoke:GetPartInfo|getField|Description}}


    === Player targeting ===
    ==Misc==
    To use a Gyro to target a player, simply enter the player's ID (Not their display name), putting multiples names will make the gyro aim at the closest player in its list. Example : "Player1 Player2".
    Writing "All" into the Gyro will cause it to aim at every player.
    Writing "AllExcept" will target every player expect those written after. Example: "AllExcept Player2".


    === Part targeting ===
    ====Recipe====
    To use a Gyro to target a part, you must first enter "Radar" then you need to write the name of the part. Example: "Radar PowerCell".
    {{#invoke:GetPartInfo|getField|Recipe}}
    You can also radar ore deposits, simply by putting the name of the ore with "Deposit" attached. Example: "Radar IronDeposit".

    === Programming ===
    [[Microcontroller|Microcontrollers]] can use the gyro to target an arbitrary location expressed as a Vector3 using Gyro:PointAt().

    === Other ===
    *The commands "Min" and "Max" configure the minimum and maximum distance the gyro can aim at, so if it was "Min80 Max400" it will aim at targets that are from 80 to 400 studs away, ignoring any target less than 80 studs away or more than 400 studs away.
    *The commands "TrigMin" and "TrigMax" configure the minimum and maximum distance at which the <code>TriggerWhenSeeked</code> option will send signals, for example if it was "TrigMin80 TrigMax400" it would send a signal if the target was more than 80 studs away but less than 400 studs away.
    *The configuration <code>MaxTorque</code> changes how much force the gyro an apply, it is recommended to set it low for stationary devices, as to not break them due to the excessive force applied.
    *Inputting "Sun" as the target will make it target the local star or black hole.
    *The gyro can be controlled by a [[Microcontroller]] using the function <code>:PointAt()</code> [https://github.com/iimurpyh/pilot-lua/wiki/Gyro More info here]

    === In-game description ===
    {{#invoke:GetPartInfo|getField|Description}}


    ====Malleability====
    ====Malleability====
    This part cannot be resized. Default size: 2x1x2
    This part cannot be resized. Default size: 2x1x2


    ==Configuration==
    ====Configurables====
    {{#invoke:GetPartInfo|getField|ConfigurationLarge}}
    *DisabledWhenUnpowered- If the gyro has no power it will deactivate, allowing you to toggle the state of the gyro with a powered switch.
    *MaxTorque- the maximum amount of torque on the gyro.
    *Seek- The object or player you wish to seek.
    **AllExcept- all except a specific player or players.
    **Radar- it will target the part after it. e. g. Radar Iron
    **Sun- The gyro will target the main stellar body in the system.
    **Min- The minimum distance it will target from.
    **Max- The maximum distance it will target from.
    **TrigMin- The minimum distance needed for it to send a trigger signal
    **TrigMax- The maximum distance needed for it to send a trigger signal;


    ====Power consumption====
    ====Power consumption====
    Consumes 2 Power per second
    Consumes 2 Power per second
    ====Programmable====
    PointAt (PointPos)
    == Trivia ==
    *The Gyro is a great part of turrets and base defenses. It is a great part to use in torpedoes.
    *The Gyro has a maximum distance of 10,000 studs.
    *If you want to use Gyros for automatic mining machines, try putting "Radar (the ore you want to mine)Deposit" in the Seek configuration.
    *When seeking, a gyro requires power. If this power is not provided, it will face upwards. If DisableWhenUnpowered is enabled, upon the loss of power, the gyro will simply stop turning the gyro and let it fall.

    [[Category:Parts]]
    [[Category:Parts]]

    Latest revision as of 12:58, 21 May 2024

    The Gyro is a part that is commonly used as a targeting system for contraptions such a missiles, it will orient the front of itself towards a chosen target rotating anything it is welded to in the process. The front of the gyro is represented by a white circle.


    In its default state (Unpowered), it will directly aim upwards unless the option DisabledWhenUnpowered is on, in which it will simply stop aiming. This feature can be used to stabilize structures that rely on physics to float, for example, a structure built with Balloons which will inevitably tip over to its heavier side without a gyro.

    If powered, it can adjust its orientation to aim at an object it is configured to seek, to choose what to target, you must simply enter text in the option Seek. If seek is blank it will not aim at anything. The Gyro has an option called TriggerWhenSeeked, which when activated will send a trigger signal every tick as long as it has a valid target.

    Player targeting[edit | hide all | hide | edit source]

    To use a Gyro to target a player, simply enter the player's ID (Not their display name), putting multiples names will make the gyro aim at the closest player in its list. Example : "Player1 Player2". Writing "All" into the Gyro will cause it to aim at every player. Writing "AllExcept" will target every player expect those written after. Example: "AllExcept Player2".

    Part targeting[edit | hide | edit source]

    To use a Gyro to target a part, you must first enter "Radar" then you need to write the name of the part. Example: "Radar PowerCell". You can also radar ore deposits, simply by putting the name of the ore with "Deposit" attached. Example: "Radar IronDeposit".

    Programming[edit | hide | edit source]

    Microcontrollers can use the gyro to target an arbitrary location expressed as a Vector3 using Gyro:PointAt().

    Other[edit | hide | edit source]

    • The commands "Min" and "Max" configure the minimum and maximum distance the gyro can aim at, so if it was "Min80 Max400" it will aim at targets that are from 80 to 400 studs away, ignoring any target less than 80 studs away or more than 400 studs away.
    • The commands "TrigMin" and "TrigMax" configure the minimum and maximum distance at which the TriggerWhenSeeked option will send signals, for example if it was "TrigMin80 TrigMax400" it would send a signal if the target was more than 80 studs away but less than 400 studs away.
    • The configuration MaxTorque changes how much force the gyro an apply, it is recommended to set it low for stationary devices, as to not break them due to the excessive force applied.
    • Inputting "Sun" as the target will make it target the local star or black hole.
    • The gyro can be controlled by a Microcontroller using the function :PointAt() More info here

    In-game description[edit | hide | edit source]

    "Stabilizes vehicles and structures by pointing upwards. Useful for mechs or orientating structures to the correct rotation. The gyro can also be configured to seek objects and players. When powered, the gyro will follow its seek commands that can be configured using hammer. The gyro has commands that allow it to find and seek objects and players. An example of gyro's seek configuration includes Player1 Player2 which will seek and aim towards the nearest player. Putting Radar at the beginning of the seek configuration will make it target parts instead. For example, Radar Gold Copper will find the nearest Gold or Copper deposit. Putting AllExcept will make the seeker target everything except the given list, basically inverting it. For example, AllExcept Player1 Player2 will target Player3 or Player 4 but not Player1 . The commands Min and Max set the minimum or maximum distance the seeker will target. For example, Min20 Max500 will make the seeker only target objects within 500 studs and more than 20 studs away. TriggerWhenSeeked will trigger all connected parts every second when the Seek configurable is satisfied TrigMin and TrigMax work the same as Min and Max but it's for the trigger signal, trigger signal will only be sent if the above property is true. Putting Sun as part of the list will make the seeker automatically target the main stellar body in the system. Gyros also have a property called MaxTorque. This allows you to control the max force on the gyro to stabilize it. "

    Malleability[edit | hide | edit source]

    This part cannot be resized. Default size: 2x1x2

    Configuration[edit | hide | edit source]

    • Seek(string) - The seek commands.
    • DisableWhenUnpowered(boolean) - Determines whether this gyro should be disabled while it does not have power.
    • TriggerWhenSeeked(boolean) - Determines whether to send out a trigger signal when the gyro detects something to seek as determined by the Seek configurable.

    Power consumption[edit | hide | edit source]

    Consumes 2 Power per second

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Axenori • 1 day ago
  • Voivsone • 1 day ago
  • Axenori • 2 days ago
  • Axenori • 2 days ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.