Page 1 of 1

[UDMF] Floor scrolling in wrong direction.

Posted: Thu Aug 02, 2018 11:37 pm
by Amuscaria
The scrolling floors using specials 201+ will scroll in the wrong direction, but still carry in the right direction, of the floor texture is rotated in UDMF. e.g. if I turned the floor texture 180 degrees, the texture will scroll opposite to the direction it's carrying.

Re: [UDMF] Floor scrolling in wrong direction.

Posted: Fri Aug 03, 2018 12:26 am
by Graf Zahl
Post an example map, please!

Re: [UDMF] Floor scrolling in wrong direction.

Posted: Fri Aug 03, 2018 1:39 pm
by Amuscaria

Re: [UDMF] Floor scrolling in wrong direction.

Posted: Mon Aug 13, 2018 4:09 am
by Graf Zahl
Does this also happen with Boom scrollers?

The problem here is obvious: The scroll offset is applied to the texture before rotating it. Sadly the entire implementation of texture translations wasn't done that well. The order of operations is not really what one would expect from how rotation is done normally...

Re: [UDMF] Floor scrolling in wrong direction.

Posted: Wed Aug 15, 2018 4:18 pm
by Amuscaria
Just tested with Boom Scrollers. Has the same bug.

Re: [UDMF] Floor scrolling in wrong direction.

Posted: Wed Aug 15, 2018 4:45 pm
by Graf Zahl
As expected. Too bad that I don't really know what to do about it, it's a design flaw in how the transformation is set up and this cannot easily be undone

Re: [UDMF] Floor scrolling in wrong direction.

Posted: Thu Aug 16, 2018 9:17 pm
by Amuscaria
Oh well, I'll just remove the part of the map that needs it. Thanks. :)