design mode
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user