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
(Fixed image not displaying due to improper editing, moved the image from an external source to internal wiki storsge in the process to cut down on external dependencies and tracking.) Tags: Mobile edit Mobile web edit |
(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) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Object
|title1 = {{PAGENAME}}
|image1 = Gyro.png
[[File:Gyro|thumb]]
|type = Electrical, Logic
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.
<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.
The Gyro has
▲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 21 ⟶ 22:
=== Part targeting ===
To use a Gyro to target a part, you must first enter "Radar" then you need to write
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 ===
|