loki79uk / FS22_UniversalAutoload

Mod for FS22. Please download latest release below.
122 stars 35 forks source link

Furniture Pallets Glitching #144

Closed Jayshua83 closed 1 year ago

Jayshua83 commented 1 year ago

We are having an odd issue with Furniture Pallets.

The first layer load fine but when it starts to load a second layer it just throws them in between existing pallets and makes a jumble mess of everything!

Jayshua83 commented 1 year ago

This happens with layers turn on it seems but NOT stacking.

loki79uk commented 1 year ago

Thanks - it seems that something similar happens for all pallets, but furniture pallets are worse. Looks like it was introduced between 1.3.0.0 and 1.3.0.3, I'll compare them and see what I broke!

loki79uk commented 1 year ago

It looks like it was the change in 1.3.0.3 to allow loading any height objects on the first layer. I would go back to using 1.3.0.2 until the next release.

loki79uk commented 1 year ago

Actually, there are two issues here - I fixed the problem with the other pallets but there is still the problem with the furniture pallets. It seems like furniture pallets are not detected by the overlapBox collision detection function.

loki79uk commented 1 year ago

So furniture pallets don't have a specific collision mask for the boxes: image

I can use any of these flags I think, but may be weird for partially full pallets: image

loki79uk commented 1 year ago

Hopefully fixed now: https://github.com/loki79uk/FS22_UniversalAutoload/releases/tag/v1.3.0.4