软降不再使场地旋转,修复旋转系统的错误修改,整理代码

This commit is contained in:
MrZ626
2021-03-25 20:49:00 +08:00
parent 1f115e6836
commit 8de29b0a90
3 changed files with 7 additions and 9 deletions

View File

@@ -253,7 +253,6 @@ function update.alive(P,dt)
end
if ENV.shakeFX then
P.fieldOff.vy=ENV.shakeFX*.2
P.fieldOff.va=P.fieldOff.va+P:getCenterX()*P.gameEnv.shakeFX*4e-5
end
end
else