I know https://mods.factorio.com/mods/skomick/tree_collision makes the box very small but it makes it too small and unrealistic
is there a way to just reduce the box by say 20%? is there a way to read the bounding box and do math on it then save it? i can not seem to do math in the data.lua file but then i am really out of practice with lua
i just want to run through a forest. we can do it in real life. trains and vehicles should not be able to drive through with out hitting stuff
tree bounding box
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: tree bounding box
Squeak Through "does math" on collision boxes. But then again there's nothing special about them. They're just tables with numbers. If you need coding help post code examples ;).
Re: tree bounding box
squeak through can also leaves tress and other items not marked for destruction when you ghost something onto that area but when a robot goes to create the entity the tree is blocking it so the robot just sits there trying and wasting power.
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: tree bounding box
If that is soley based on the collision_box size it's a bug in the engine and should be reported.Iccor56 wrote:squeak through can also leaves tress and other items not marked for destruction when you ghost something onto that area but when a robot goes to create the entity the tree is blocking it so the robot just sits there trying and wasting power.
Re: tree bounding box
i don't know where the issue is or if it is a bug. i just know things don't line up with squeak through enabled and they do when it is disabled. either it is an engine bug or something missing in the addon.