Author Topic: basher/miner❤blocker interaction, desired behavior?  (Read 12425 times)

0 Members and 1 Guest are viewing this topic.

Offline Simon

  • Administrator
  • Posts: 3878
    • View Profile
    • Lix
Re: basher/miner❤blocker interaction, desired behavior?
« Reply #15 on: September 10, 2022, 02:13:23 PM »
This bug from 2015 is still open and I don't have a fix ready. Won't happen in the next couple months. Luckily, this bug hits only rarely.

I'll see when I return to these seriously meaty physics bugs.

-- Simon

Offline Simon

  • Administrator
  • Posts: 3878
    • View Profile
    • Lix
Re: basher/miner❤blocker interaction, desired behavior?
« Reply #16 on: September 13, 2022, 12:14:20 AM »
Spontaneous hunch: This 2015 bug basher/miner❤blocker is the terrain-removing analog of the 2016 bug Turning builder at blocker separates builder from crowd that I fixed around Lix 0.7 in 2017. The problem there was: Builders would turn at blockers, move forward through air without ground, then continue to build staircases in midair where the crowd couldn't follow.

The solution was to duplicate the most recently placed builder brick when the builder turns. Thus, one brutally direct fix to basher/miner❤blocker might be:

Idea (Swing Duplication): When a basher or miner turns at a blocker, the basher/miner duplicates the most recent swing, i.e., the most recent earth-removal, mirrored according to the new direction and position.

Swing duplication doesn't have the if-if-if of idea ♠ further up. But I'll have to read the entire thread again. Downside of duplicated swing: The duplicate might end up severely displaced from the original swing, possibly allowing powerful abusable physics. I don't want this fix to become a strong physics feature to design levels around.

Will sleep over it. :lix-grin: No matter what, I'll keep this bug in 0.10 as-is.

-- Simon
« Last Edit: September 13, 2022, 08:09:31 AM by Simon »