×
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
    No edit summary
    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
     
    (3 intermediate revisions by 3 users not shown)
    Line 1: Line 1:
    {{Object
    {{Object
    |title1 = {{PAGENAME}}
    |title1 = {{PAGENAME}}
    |image1 =
    |image1 = Gyro.png
    [[File:Gyro|thumb]]
    [[File:Https://cdn.discordapp.com/attachments/1065111651197648906/1203512790967394304/Gyro.png?ex=65d15da1&is=65bee8a1&hm=9ceadbed34d54de254f7fac46361fe286085d4a9aa27ac1865d58609dec29d35&|thumb]]
    |type = Electrical, Logic
    |type = Electrical, Logic
    |recipe = {{#invoke:GetPartInfo|getField|Recipe}}
    |recipe = {{#invoke:GetPartInfo|getField|Recipe}}
    Line 10: Line 10:


    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 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.
    <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.


    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.
    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.
    If powered, it can adjust its orientation to aim at an object it is configured to aim at, 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 a option called <code>TriggerWhenSeeked</code>,when activated it will send a trigger signal every second as long as it has a target.


    === Player targeting ===
    === Player targeting ===
    Line 21: Line 22:


    === Part targeting ===
    === Part targeting ===
    To use a Gyro to target a part, you must first enter "Radar" then you need to write he name of the part. Example: "Radar PowerCell".
    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".
    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 ===
    === Other ===
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

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