This commit is contained in:
Seth Alves 2016-03-31 16:37:08 -07:00
parent 0e643a1555
commit e8d58483aa

View file

@ -1130,7 +1130,7 @@ function MyController(hand) {
this.grabRadialVelocity = 0.0;
// compute a constant based on the initial conditions which we use below to exagerate hand motion onto the held object
this.radiusScalar = Math.log(grabRadius + 1.0);
this.radiusScalar = Math.log(this.grabRadius + 1.0);
if (this.radiusScalar < 1.0) {
this.radiusScalar = 1.0;
}