Lemmings Forums

Lix => Lix Main => Topic started by: Simon on October 02, 2018, 08:21:09 PM

Title: Airwalk: keep/cull? After suddenly losing ground, walkers still walk once
Post by: Simon on October 02, 2018, 08:21:09 PM
Hi,

airwalk happens in Lemmings 1 and in Lix. I consider it a physics bug. Here are pictures taken in successive frames:

(http://www.lixgame.com/etc/airwalk-0.png)

(http://www.lixgame.com/etc/airwalk-1.png)

Explanation:
Problem: These walkers land on a ledge, but shouldn't be in the space over the ledge in the first place. It's weird that walkers react to the lack of wall immediately (thus can walk forward), but fall due to lack of ground only after airwaking once. It's also inconsistent with the general philosophy that terrain removers should immediately affect everybody in the same frame, in every way.

Proposal: Walkers should check for ground both before and after possibly walking forward. If they hover before the move, they immediately fall and don't move forward anymore.

Downsides of change: Walking is the most ubiquitous activity. If you have walkers in a digger hole, this change affects them as the digger breaks through. I haven't implemented any fix yet, thus haven't run the replay checker on this. Also, other activities might have similar bugs -- fixing only the walker in isolation might be inconsistent.

-- Simon
Title: Re: Airwalk: keep/cull? After suddenly losing ground, walkers still walk once
Post by: mobius on December 15, 2022, 11:57:22 PM
interesting, and somehow I've never noticed this. It's a tough one. IMO I've never run into issues with this, despite it seeming on paper to be a serious problem... so my first feeling is to leave it as is.