Update index.html
Browse files66 unmodified lines676869707172737466 unmodified lines},tick: function() {this.el.object3D.position.add(this.velocity);if (this.el.object3D.position.y <= -0.5) {this.el.object3D.position.y = -0.5; // Accumulate on the groundthis.velocity.set(0, 0, 0); // Stop movement when it hits the ground}}66 unmodified lines676869707172737466 unmodified lines},tick: function() {this.el.object3D.position.add(this.velocity);if (this.el.object3D.position.y <= -1.0) {this.el.object3D.position.y = -1.0; // Accumulate on the groundthis.velocity.set(0, 0, 0); // Stop movement when it hits the ground}}
index.html+2-2