Fixed Things without X/Y momentum can fall through polyobjects

Status
Not open for further replies.

fickleheart

ms reflec beat stan
Leaving this kind of just as a note to myself.

FrightenedObeseBedbug.gif


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:
Shove PolyObject-related floorz/ceilingz adjustments in P_ZMovement and related? Apparently FOFs had a similar issue to this once upon a time.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top