×
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
     
    (5 intermediate revisions by 3 users not shown)
    Line 2:
    |title1 = {{PAGENAME}}
    |image1 = Gyro.png
    [[File:Gyro|thumb]]
    |type = Electrical, Logic
    |recipe = {{#invoke:GetPartInfo|getField|Recipe}}
    Line 9 ⟶ 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.
    <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.
     
    InIf powered, it can adjust its defaultorientation stateto (Unpowered),aim at an object it willis directlyconfigured aimto upwardsseek, unlessto choose what to target, you must simply enter text in the option <code>DisabledWhenUnpoweredSeek</code>. isIf on,seek inis whichblank it will simplynot aim stopat aiminganything.
    The Gyro has aan option called <code>TriggerWhenSeeked</code>, which when activated it will send a trigger signal every secondtick 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 ===
    Line 20 ⟶ 22:
     
    === Part targeting ===
    To use a Gyro to target a part, you must first enter "Radar" then you need to write hethe 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 ===
    [[Microcontroller|Microcontrollers]] can use the gyro to target an arbitrary location expressed as a Vector3 using Gyro:PointAt().
     
    === Other ===
    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.