I'm really late on the episodes so I'm struggling with something that probably was already explained but here it is.
On Day 077 (around minute 24) Casey changes the way OffsetZ is handled when drawing things to the screen by removing the premultiplication by MetersToPixels and then removing the OffsetZ from the Center point Y coordinate calculation (25:20).
But when it was removed from the Center point Y coordinate it cancelled the thing OffsetZ was there to do, lift things from the ground, and you can see this if you cancel the ZFudge you can see that the familiar head no longer "bobs".
So, in my code I changed the line:
| real32 EntityZ = -MetersToPixels * EntityBaseP.Z;
|
to
| real32 EntityZ = -MetersToPixels * (EntityBaseP.Z + Piece->OffsetZ);
|
What I am trying to ask here is:
Am I wrong thinking that the effect of OffsetZ should not be limited to the ZFudge?
And: Will this be "corrected" later in the series? Because as I can see in the source code for later days is that the bobbing code is still there but the familiar no longer bobs when I see the current streams.
Thanks in advance ;)