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!

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

Postby FishyClockwork » Thu Mar 11, 2021 10:11 am

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/blob/bf3340338137f7c47dfb5cd95fe2ce36bc99e2be/src/playsim/po_man.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.
You do not have the required permissions to view the files attached to this post.
User avatar
FishyClockwork
 
Joined: 23 Feb 2011

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests