Stretched water overlay to fullscreen, made it appear when camera's sugmerged, disabled the invalid rotation during submerging ( issue number #10 ), enlargened and fixed position of the island mesh.

This commit is contained in:
Foxar
2020-12-04 16:50:25 +01:00
parent a05b4fbd0f
commit b547de9cbb
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -65,13 +65,14 @@ void Player::update(Pad &t_pad)
isJumping = true;
else
isJumping = false;
/*
if (lift < 0)
mesh.rotation.y = 1;
else if (lift > 0)
mesh.rotation.y = -1;
else
mesh.rotation.y = 0;
*/
if (velocity > 0 && mesh.getCurrentAnimationFrame() == 0)
{