Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: IchoTolot on January 06, 2022, 06:26:23 PM

Title: [BUG?][Player] Glider hitting wall under thin ceiling causes lem phasing through
Post by: IchoTolot on January 06, 2022, 06:26:23 PM
If a glider hits a wall right under a thin ceiling the glider phases/steps-through it and comes out on top of the ceiling.

I attached a test level to show this behavior.

In the test level:

In the case of the lem close to the upper wall the glider seems to bump into a wall which that said wall being a 1 pixel high piece of the ramp.
The hitting of this wall happens through the little hook/bump the glider does when opening the gadget.
The hitting of the 1 pixel wall results in the glider getting through the ceiling/ramp.

The lem coming from far away highlights the wall hitting better at the very bottom of the ramp by not using that little hook/bump when opening the gadget.

Oberserving the lems position with clear physics active helps as well.

So it seems that hitting a wall just under a thin terrain ceiling causes a step-through.

I don't know if a fix would entail changing the whole glider-wall or glider-land behavior though. That would need to be evaluated.
Title: Re: [BUG?][Player] Glider hitting wall under thin ceiling causes lem phasing through
Post by: namida on November 02, 2022, 10:26:23 PM
Although the result seems counterintuitive in some ways, I'd actually say this is not a bug - just a somewhat strange outcome of intended physics. In particular consider:

1. A glider will be pushed downwards if he encounters a wall that he cannot step up onto. (EDIT: ...but does not extend downwards far enough to turn him around)
2. A glider will step up if he encounters a wall he can step up onto.

The lemming that starts near the wall in your example initially exhibits the result of (1). Note that he is immediately below the slope - in other words, the pixel immediately to his right at all times (at least while underneath the terrain) is solid. Therefore, once there's a gap above it (thus meaning he can step up), this behavior triggers. Note that a walker encountering this setup would also be able to step up through the bar, which is a long-established and accepted behavior.

The other lemming is pretty much the same, except that he's a tad lower so doesn't encounter a solid pixel in front of him until he reaches that bar at the bottom. Beyond this it's pretty much the same.

I'll leave the topic open for discussion, but my judgement here at this stage is that there's no bug, just a somewhat unintuitive (but consistent) outcome.
Title: Re: [BUG?][Player] Glider hitting wall under thin ceiling causes lem phasing through
Post by: IchoTolot on November 03, 2022, 07:30:32 AM
Ok, so it is indeed just a weird edge case of a glider barely hitting a corner. Just this time there is a little ceiling that can be stepped through, so it doesn't stop him.
Title: Re: [BUG?][Player] Glider hitting wall under thin ceiling causes lem phasing through
Post by: WillLem on November 10, 2022, 04:15:43 PM
Perhaps "lem phasing" should become an allowed behaviour. Maybe ALL lems should phase! :lemcat:
Title: Re: [BUG?][Player] Glider hitting wall under thin ceiling causes lem phasing through
Post by: namida on December 04, 2022, 12:47:04 AM
Sounds like there isn't really much debate about this, so I'll close this off now, and confirm that the behavior will remain as-is.