awacke1 commited on
Commit
a1db9ef
1 Parent(s): 19c76fa

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -67,8 +67,8 @@
67
  },
68
  tick: function() {
69
  this.el.object3D.position.add(this.velocity);
70
- if (this.el.object3D.position.y <= -2.5) {
71
- this.el.object3D.position.y = -2.5; // Accumulate on the ground
72
  this.velocity.set(0, 0, 0); // Stop movement when it hits the ground
73
  }
74
  }
 
67
  },
68
  tick: function() {
69
  this.el.object3D.position.add(this.velocity);
70
+ if (this.el.object3D.position.y <= -3.5) {
71
+ this.el.object3D.position.y = -3.5; // Accumulate on the ground
72
  this.velocity.set(0, 0, 0); // Stop movement when it hits the ground
73
  }
74
  }