Page 1 of 1

BoundingBox::orientation misleading description

Posted: Wed Jun 25, 2025 7:01 pm
by Osmo
https://lua-api.factorio.com/latest/typ ... ngBox.html
It says orientation is unused, but it is actually used in some places. For example, it can allow to make rotated collision boxes for entities that do not support rotation.

Re: BoundingBox::orientation misleading description

Posted: Wed Jun 25, 2025 7:27 pm
by Bilka
Do you have an example of it getting used in data stage?

Re: BoundingBox::orientation misleading description

Posted: Wed Jun 25, 2025 8:03 pm
by Osmo
Yes, as i said, it can be used by entities to have a bouniding box rotated by 45°, for example (or some different angle). I think even cliffs in base game do that.

Re: BoundingBox::orientation misleading description

Posted: Tue Jul 22, 2025 3:43 pm
by Bilka
Thanks, fixed the docs for 2.0.61.