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:
1 parent
a05b4fbd0f
commit
b547de9cbb
2 files changed
+7
-6
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user