×
Create a new article
Write your page title here:
We currently have 277 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 deleted Content added
    Created page with "The gyro is a part which aims at objects. It will adjust its orientation to aim at the object it is configured to aim at. If it is not configured it will aim in one direction...."
     
    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
     
    (23 intermediate revisions by 12 users not shown)
    Line 1:
    {{Object
    The gyro is a part which aims at objects. It will adjust its orientation to aim at the 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" (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 triggers 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.
    |title1 = {{PAGENAME}}
    |image1 = Gyro.png
    [[File:Gyro|thumb]]
    |type = Electrical, Logic
    |recipe = {{#invoke:GetPartInfo|getField|Recipe}}
    |raw_recipe = {{#invoke:GetPartInfo|getField|DescriptionRaw recipe}}
    |malleability={{#invoke:GetPartInfo|getField|Malleability}}
    }}
     
    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.
    [[File:RobloxScreenShot20210827 171503572.png|thumb]]
    <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.
    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.
     
    === Player targeting ===
    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".
     
    === In-gamePart descriptiontargeting ===
    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|Description}}
    You can also radar ore deposits, simply by putting the name of the ore with "Deposit" attached. Example: "Radar IronDeposit".
     
    ==Misc= Programming ===
    [[Microcontroller|Microcontrollers]] can use the gyro to target an arbitrary location expressed as a Vector3 using Gyro:PointAt().
     
    === Other =Recipe====
    *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.
    {{#invoke:GetPartInfo|getField|Recipe}}
    *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====
    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
    **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 signa;
     
    ====Power consumption====
    Consumes 2 Power per second
    ====Programmable====
    PointAt (PointPos)
    == Trivia ==
    *The Gyro is a great part for turrets and base defences. It is a great part to use in torpedoes.
    *The Gyro has a maximum distance of 10,000 studs.
     
    [[Category:Parts]]
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Jo857294 • 8 days ago
  • 116.111.185.163 • 21 days ago
  • 116.111.185.163 • 21 days ago
  • 116.111.185.163 • 21 days ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.