Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: Armani on January 14, 2021, 11:40:28 AM

Title: [BUG][PLAYER] Slider slide through 1pixel floor when ceiling low
Post by: Armani on January 14, 2021, 11:40:28 AM
(https://i.ibb.co/s1fyfg1/bug0.png) (https://imgbb.com/)

(https://i.ibb.co/pJBjtNP/bug.png) (https://imgbb.com/)

The title says it all. Slider lemming can slide through 1pixel floor when the ceiling is low enough.
Title: Re: [DORMANT][BUG][PLAYER] Slider slide through 1pixel floor when ceiling low
Post by: namida on January 14, 2021, 05:53:48 PM
This is a bug, but not major enough to interfere with the exp phase, so will be fixed if/when the Slider is confirmed for stable.
Title: Re: [BUG][PLAYER] Slider slide through 1pixel floor when ceiling low
Post by: namida on February 09, 2021, 11:18:34 PM
Okay so, after investigating, it appears the bug occurs if the gap between the floor and ceiling is 6, 7 or 8 pixels. Below this the climber won't hit his head anyway, and above this the bug does not occur.

If the floor is exactly 1px thick, the lemming will slide through it. If the floor is 2px or more, the lemming will stop sliding, but will be 1px inside the floor for one frame (the normal walker physics will bring him back to the proper position on the following frame).

I haven't yet implemented any fix or looked into what's causing it - just investigated the exact conditions that cause it.
Title: Re: [BUG][PLAYER] Slider slide through 1pixel floor when ceiling low
Post by: namida on May 14, 2021, 10:06:18 PM
Fixed in commit 43039c9.