Non-solid 3D Floor from below, solid from the top

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Non-solid 3D Floor from below, solid from the top

Postby Camilla Bibberthork » Thu Jan 28, 2021 5:32 am

How can I make a sector set 3d floor a non-solid from the bottom, but have a solid floor?
As in you could jump through it from the bottom, and then stand on it. I thought of making it a swimmable 3d floor so you could jump through it, and making the player be able to walk on water, but that doesn't seem to be a thing

sorry for the dumb question lol
Camilla Bibberthork
 

Re: Non-solid 3D Floor from below, solid from the top

Postby Graf Zahl » Thu Jan 28, 2021 5:38 am

This cannot be done because movement direction is not being considered when doing collision detection. Either something is solid or it isn't.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Non-solid 3D Floor from below, solid from the top

Postby Enjay » Thu Jan 28, 2021 6:55 am

I suppose you might try to simulate it by doing something like having a script that monitors the player's position and z-height and when they go above a certain height (i.e. have moved up through a non-solid 3D floor) very rapidly move up a second invisible, solid 3D floor below them. So it would look like they were standing on the non-solid one but they would actually be standing on the newly risen invisible solid one.

Of course, such a setup would only work in certain situations and might be easy to break.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland


Return to Mapping

Who is online

Users browsing this forum: No registered users and 0 guests