Skip to content

Fix for object z positions on floating, bobbing FOFs

Monster Iestyn requested to merge monitors-floatbob-fix into next

See SRB2MB: The Deathly Monitors II: The Ghostly, Jumpy, Occasionally Sticky Monitors for some context.

I found out three years ago that the cause of the first issue in the thread was a combination of several things: a fix I made once to fix solid objects suddenly warping on top of another, and the little-known fact that the monitor actually is just slightly above the FOF itself at the end of the bob. Apparently at some point during those three years physics of solid objects were changed again, fixing the intangibility part... but not the latter technicality.

This branch fixes objects on floating, bobbing FOFs so that they are definitely on top of the FOF at the very end of a bob. This would have fixed the thread's first issue even if it wasn't fixed by other means already.

If you guys want pretty animations to help understand what's going on, here you go:

Before the fix:

srb20147

After the fix:

srb20148

Merge request reports