The last time this seems to have been brought up was back in 2005 in this thread: viewtopic.php?t=7359
So bringing it up again after 19 years! Thread suggests that Marisa thought it was doable, so I would assume it would be even extra doable in zscript.
Dynamic sloped sectors
Moderator: GZDoom Developers
-
- Spotlight Team
- Posts: 430
- Joined: Tue Oct 05, 2010 12:04 am
- Graphics Processor: nVidia with Vulkan support
-
- Posts: 154
- Joined: Wed Jul 11, 2018 10:57 pm
Re: Dynamic sloped sectors
Setting the plane formula is easy, it's handling the physics of it that's really difficult. The slope code as-is is still terrible 19 years later (barely functional even) so adding things like moving Actors as you change the plane would be a nightmare. There's other limitations e.g. floors shouldn't be set to point down like a ceiling or be perfectly vertical like walls. It's doable, but only in the sense that basically anything is doable since it's all just code. I imagine there's a ton of ways things could break with this and until the movement code itself no longer shits the bed when it comes to slopes, this will have to be low priority.
Re: Dynamic sloped sectors
What if you added fake slopes? Like the collision would still use flat stair steps, but they would be rendered as slopes. Couldn’t they be dynamic then?