reduce speed

This commit is contained in:
Adrien MALINGREY 2023-05-30 17:30:41 +02:00
parent 5b3e1201e7
commit ba65ac67f6

View File

@ -434,7 +434,7 @@ function getSideVector() {
function controls( deltaTime ) {
// gives a bit of air control
const speedDelta = deltaTime * ( playerOnFloor ? 25 : 8 );
const speedDelta = deltaTime * ( playerOnFloor ? 10 : 2 );
if ( keyStates["ArrowUp"] || keyStates[ 'KeyW' ] ) {