Get Position: Difference between revisions

Added a folder.
(link to Object)
Tags: Mobile edit Mobile web edit Advanced mobile edit
(Added a folder.)
Tags: Reverted Mobile edit Mobile web edit
Line 16: Line 16:


Additional calculations are needed to arrive at the [[geometric center of an object]] (in terms of blocks).
Additional calculations are needed to arrive at the [[geometric center of an object]] (in terms of blocks).
== Examples ==
You can create a floor detector using one.
It is very simple, as you can use a Break Vector on the {{Port|v|wire}}, use a Less Than in the {{Port|n|top input}}, and set the layer to put a limit on the {{Port|n|bottom input}}(Example: {{Port|n}} 0.9), and set a If to detect it.
You can add anything that has a before, and after wires on the "True" output. (Example: [[Play Sound]].)


== Related ==
== Related ==