position
Details
Kode wheel segment | Positioning |
Style | Vector variable |
Modifiers | None |
Primarily WHEN/DO | Both |
Pre-made brains that use it | Unknown |
Positioning > position
Description
This tile determines the position of an object in the world. Every object has a position socket (normally its center). You can move objects from one position in the world to another using this tile (like a teleporter). 1. You can also query the position of an object to get vector coordinates.
Example Code
WHEN [interacted] DO [it][position][=][IWP:logic cube][position]
Modifiers
None
Other Uses
Footnotes:
- There is a strange bug associated with this, in that sometimes the position if an object is not the same each time you teleport it. Characters can be thrown into the air or forced into the ground. Moving objects that are transported are particularly vulnerable to this effect.