Types/BoundingBox

From Official Factorio Wiki
Revision as of 20:38, 20 May 2018 by Bilka (talk | contribs) (Created page with "'''BoundingBox''' is set of two Types/Position. BoundingBoxes are typically centered around the position of an entity. It is specified like this: {{-0.4, -0.4}, {0.4,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

BoundingBox is set of two Types/Position. BoundingBoxes are typically centered around the position of an entity.

It is specified like this:

   {{-0.4, -0.4}, {0.4, 0.4}}

The first position is assumed to be leftTop, the second position is assumed to be rightBottom. A third member may be added, a Types/float that represents the orientation.