Closed joskuijpers closed 6 years ago
Confirmed: snow breaks compacting
Not at 37% per se. I got it stuck at 29%.
After removing all snow, still can't continue compacting.
Save + Restart the game is a workaround.
After touching snow with the tractor, compaction stops working. The code seems to think the vehicle wheels do not touch the material.
@stijnwop
Mm good catch, i believe the silo looks at the contact value of every wheel. As workaround on the snowTracks to avoid fast color switches (when leaving the snow) in the track color i forced the .contact value on WHEEL_NO_CONTACT.
Big chance that's affecting it. Need to look into it a bit more..
wheel.contact = Vehicle.WHEEL_NO_CONTACT
is true, being the issue.
So yes that is a very good guess.
I guess what you are doing there is nothing something we should be doing 😛
Delete it before it lays eggs!! 😄
Will do, but go to figure out why it was needed and find a way to 'fix' that without this nasty hack.
I wonder if there is a cleaner way to do all these track things...
Removed that line: now compacting snow also counts as compacting chaff. heh.
EDIT: If you are not used a massively scaled compactor like I do, it remains the same amount of work though..
The thing is that its all happening before all the specs all called. So the color will always change every frame before we reset it to white again. Since Giants did not make a separate function on this it's really hard todo a clean hook on this.
Yeah there probably was a "small" reason why i put that in the code. But as soon the vehicle lost contact to snow it should just reset.. 🤔
You can figure this out,. :)
Fixed