Changed: Slowed player rotation speed.

This commit is contained in:
Foxar
2020-12-07 20:09:17 +01:00
parent 32422b87eb
commit 83dce5cb92
+2 -2
View File
@@ -45,9 +45,9 @@ void Player::update(Pad &t_pad)
velocity = -1; velocity = -1;
if (t_pad.lJoyH >= 200) if (t_pad.lJoyH >= 200)
mesh.rotation.z -= 0.1; mesh.rotation.z -= 0.05;
else if (t_pad.lJoyH <= 100) else if (t_pad.lJoyH <= 100)
mesh.rotation.z += 0.1; mesh.rotation.z += 0.05;
if (t_pad.rJoyV >= 200 && lift <= 1) if (t_pad.rJoyV >= 200 && lift <= 1)
lift += 0.2F; lift += 0.2F;