reduce speed
This commit is contained in:
parent
5b3e1201e7
commit
ba65ac67f6
2
main.js
2
main.js
@ -434,7 +434,7 @@ function getSideVector() {
|
|||||||
function controls( deltaTime ) {
|
function controls( deltaTime ) {
|
||||||
|
|
||||||
// gives a bit of air control
|
// gives a bit of air control
|
||||||
const speedDelta = deltaTime * ( playerOnFloor ? 25 : 8 );
|
const speedDelta = deltaTime * ( playerOnFloor ? 10 : 2 );
|
||||||
|
|
||||||
if ( keyStates["ArrowUp"] || keyStates[ 'KeyW' ] ) {
|
if ( keyStates["ArrowUp"] || keyStates[ 'KeyW' ] ) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user