3D switch reacts strangely to PolyObject

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!
User avatar
SPZ1
Posts: 412
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois

3D switch reacts strangely to PolyObject

Post by SPZ1 »

During my work on the new version of SPZ1, I decided to upgrade all line switches to 3D switches. I came across something in one map where the switches react strangely to a moving polyObject. Even though it does not appear to touch the moving PolyObj, the switches jump to the top of the sector they are "attached" to. It varies based on whatever the sector height is. I tried numerous flags to no avail.

https://1drv.ms/u/c/f562b31d53640a9e/IQ ... I?e=ctSG4F
https://mega.nz/file/COI0gYiS#v62Xdyg58 ... wFffKIQg7I

Code: Select all

#include "include/zcommon.acs"

	//Rotate the poly walls
script 14 (int whichPoly){

	if (whichPoly == 1){
		PolyObj_RotateLeft(2, 3, 32);
	} else if (whichPoly == 2){
		PolyObj_RotateRight(2, 3, 32);		
	}

	PolyWait(2);
}
Last edited by SPZ1 on Thu Jul 30, 2026 7:05 pm, edited 2 times in total.

Return to “Bugs [GZDoom]”