Page 1 of 1

Interactive sector portals throw flying players into air

Posted: Tue Apr 20, 2021 10:34 am
by Guest
Hello! I would like to file a bug report on a problem we discovered during Blade of Agony playtesting.
https://github.com/Realm667/WolfenDoom/ ... portal.zip
Activate the 'fly' cheat, submerge the player pawn into the sector over the portal plane, and then move it towards one of the upper portal lines with high speed. After that, the player would sometimes instantly change their Z coordinate or even get thrown into air upon hitting the portal line with some additional velocity, even if at that time the player was lower than -24 units with respect to the high ground.
This only seems to happen with the upper part of the portal.
Video: https://user-images.githubusercontent.c ... 49b208.mp4

Re: Interactive sector portals throw flying players into air

Posted: Thu Apr 22, 2021 8:56 am
by AFADoomer
Some clarification on this bug:

Recreating this situation requires a floor/ceiling portal setup where the "upper" area's floor portal sector is recessed into the surrounding floor, as in the linked .wad above.

If a player that is traversing the portal (so the actor's feet are below the portal plane, but eyes are above it) makes contact with one of the inside walls of the upper recessed area, the player will immediately warp to the z-height of the upper area's surrounding floor - essentially moving as if the portal plane was level with the surrounding floor, instead of colliding with the surrounding wall as expected.

Re: Interactive sector portals throw flying players into air

Posted: Thu Apr 29, 2021 4:43 pm
by Ozymandias81
Any news regarding this issue? Sorry to bump this way but it is important on Blade of Agony.

Re: Interactive sector portals throw flying players into air

Posted: Fri Apr 30, 2021 12:29 am
by Graf Zahl
This is a known and very tricky issue with Doom's movement code. The entire position checking is done in 2D and these portals just manage to throw it off.
Don't expect a quick resolution here.