Leaving this kind of just as a note to myself.
Reason is that things' floorz/ceilingz are only adjusted when objects move along the X/Y axes, whether by having momentum in that direction or by having P_(Try)Move/etc called on them manually. Vertical movement specials account for this by readjusting the heights of every object in their sector automatically, but no such special handling exists in sectors with polyobjects. Object spawns are probably handled before polyobjects are loaded into their spots, so this leaves them thinking the ground is the sector's normal ground instead of the polyobject.
tl;dr I need to make sectors with polyobjects adjust their objects' floorz/ceilingz every tic (that a polyobject within moves, at least).
Reason is that things' floorz/ceilingz are only adjusted when objects move along the X/Y axes, whether by having momentum in that direction or by having P_(Try)Move/etc called on them manually. Vertical movement specials account for this by readjusting the heights of every object in their sector automatically, but no such special handling exists in sectors with polyobjects. Object spawns are probably handled before polyobjects are loaded into their spots, so this leaves them thinking the ground is the sector's normal ground instead of the polyobject.
tl;dr I need to make sectors with polyobjects adjust their objects' floorz/ceilingz every tic (that a polyobject within moves, at least).
Last edited by a moderator: