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.
BoundingBox::orientation misleading description
Re: BoundingBox::orientation misleading description
Do you have an example of it getting used in data stage?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: BoundingBox::orientation misleading description
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
Thanks, fixed the docs for 2.0.61.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.