ClassiCube-Client icon indicating copy to clipboard operation
ClassiCube-Client copied to clipboard

Third person view bugs

Open Arisotura opened this issue 10 years ago • 1 comments

I don't know if those bugs have already been reported, slap me 53.7 times if so.

When in third person view and inside water or lava, the blue/orange fog appears based on the player's position and not the camera's position. For example, if the player is in water but the camera is outside of it, you see the blue fog when you shouldn't.

And when in rear third person view, the camera doesn't check for blocks at all, and happily goes through everything. Oddly, this doesn't happen in front third person view.

Arisotura avatar Apr 28 '14 23:04 Arisotura

Both bugs can be fixed with the same code basically, we have code to determine how far away a block is in front of the player, but not behind the player. If we add that in we can determine where the "camera" is at all times.

123DMWM avatar Nov 13 '14 22:11 123DMWM