Actor won't cross portal on poly if poly bumps into actor

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
Fishytza
Posts: 791
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: They/Them
Contact:

Actor won't cross portal on poly if poly bumps into actor

Post by Fishytza »

If a line portal on a polyobject approaches/bumps into a stationary actor, the actor won't cross the portal. Instead the actor ends up behind the portal line. And if the portal line is one-sided (as is acceptable if it's on a polyobject) then the actor ends up in the "void space" or "inside" the polyobject. (Potentially getting stuck and needing to noclip out of there.)

It works fine, however, if it's the actor that approaches/walks over the portal line.

Looking at this, it appears to be a known problem.
https://github.com/coelckers/gzdoom/blo ... .cpp#L1112

Here's a test map demonstrating the problem. Just stand still and let the portal approach you.
There are 4 polyobjects. 2 with a two-sided portal line, and 2 with a one-sided portal line.
Attachments
polyportal-bumps-into-actor-test.wad
Load with DOOM2.wad
Replaces MAP01
(13.93 KiB) Downloaded 43 times

Return to “Bugs [GZDoom]”