design mode

This commit is contained in:
2025-07-01 08:42:00 +03:00
parent 4ca83b7d87
commit 03281ee582
6 changed files with 410 additions and 53 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ class Hero{
if (this.ready) {
if (this.canJump) {
//walking
this.mixer.update(this.distance / 100)
this.mixer.update(this.distance / 10)
} else {
//were in the air
this.mixer.update(this.delta)
@@ -138,7 +138,7 @@ class Hero{
inputVelocity.x = 1
}
inputVelocity.setLength(this.delta * 100)
inputVelocity.setLength(this.delta * 10)
// apply camera rotation to inputVelocity
euler.y = this.gameEngine.cameraYaw.rotation.y;