Collision on finitely tall polyobjects has been broken.

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!

Collision on finitely tall polyobjects has been broken.

Postby inkoalawetrust » Wed Dec 08, 2021 10:14 am

While working on my city map, I decided to make a supermarket that uses transparent 3D midtex doors, a trick I've used dozens of times before, that makes a finitely tall polyobject that doesn't block things above its' height*, that can also be made transparent unlike any other polyobject types. Another method of making polyobject doors that look and behave as having a finite height, is making a polyobject using the linedefs from a raised floor, that method also produces a finitely high polyobject, and has the advantage of making a door that can have decals on it, and also properly stops hitscans, but the caveat is that the doors' lines can't be made transparent, and that you can't say, put them on top of a 3D floor.

But the problem is that now both of those tricks to make finitely tall polyobjects are broken, both 3D middle texture and raised floor polyobjects block anything above them for an infinite height just like normal polyobjects do. So now there is no way to make finitely tall, horizontally moving level geometry. I asked Graf about it on the Discord, and he told me that the cause is probably 4.7.0 having consolidated the blocking rules for MBF21.

I didn't notice and report this bug earlier because I hadn't tested the collision of these types of polyobjects on my map and my example maps since before I got GZDoom 4.7.0. This trick had worked for as long as I've known how to make polyobjects, which was 2-3 years ago, and I've taught this trick to multiple people before, as early as literally last week and it used to work just fine.

I've attached an example map with a 3D midtex polyobject on the left, and a raised floor one on the right.


*Except hitscans, because to make a 3D midtex polyobject door block them, you need to use the Block Hitscans flag on its' linedefs, which comes with the caveat of blocking hitscans infinitely high.
You do not have the required permissions to view the files attached to this post.
User avatar
inkoalawetrust
 
Joined: 26 Aug 2019
Discord: inkoalawetrust #9783
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests